Operational Liaison for Intelligent Virtual Engagement
OLIVE is a modular hub designed to integrate disparate microservices into a single, managed ecosystem, utilizing Discord as its primary control interface.
The Discord bot was created based on the Flores project, which was previously used as a test and training project. The source code is not publicly available.
Status: We are currently refactoring the old version of the code. Product descriptions may not reflect reality.
.
├── .venv/ # Virtual environment (ignored by Git)
├── docs/ # Documentation files (setup instructions, walkthroughs)
│ ├── EN/
│ └── UK/
├── src/
│ ├── main.py # The main entry point of the bot
│ ├── settings.py # Local configuration (created by the user based on settings.py.example. Ignored by Git)
│ ├── phrases.json # Local phrases configuration (ignored by Git)
│ ├── cogs/
│ ├── core/
│ ├── modules/
│ ├── ... # The bot will store files such as llm_context.json, config.ini, currency_cache.json, and others in this (src/) folder.
│ └── .env # And the rest of the tokens with the names you specify in settings.py (should be in .gitignore)
├── README.md
├── .gitignore
├── requirements.txt # Tracked by Git
└── settings.py.example # Tracked by Git
Ukrainian version of the initial setup instructions located in docs/UK/setup-instructions.md.
- Clone the repository and navigate to its directory:
git clone https://github.com/oleh-devlab/olive.git
cd olive- Create a Python virtual environment and activate it:
python -m venv .venv
# Windows
.venv\Scripts\activate
# Linux/MacOS
source .venv/bin/activate- Move
settings.py.exampleto the source folder (intosrc/, or such that it is on the same level asmain.py). - Rename
settings.py.exampletosettings.pyand fill in the required fields (see the comments inside the file). - Create token files in the source folder (
src/, in the same folder asmain.pyandsettings.py) according to their names defined insettings.py.
- You can skip adding tokens for modules that are disabled (see
settings.py).
- Ensure that the token paths you use (see
settings.py) are listed in.gitignore. - Install dependencies.
- You can skip installing dependencies for unused modules. Check
settings.pyto see which modules to disable and editrequirements.txtaccordingly.
pip install -r requirements.txt- If you have made changes to the
requirements.txtfile to exclude certain dependencies, we recommend reverting it to its original state after the installation is complete to avoid conflicts when working with Git. - Tip: You can quickly revert the file by running
git checkout -- requirements.txtorgit restore requirements.txt.
-
(Optional) Fill in
phrases.json. -
Run the bot (it is recommended to run this from the
srcdirectory, or the one containingmain.py):
cd src
python main.py