a Chat interface for independent environments. It supports only Slack for now. but it can be extended to other platforms like Discord, Telegram, web, etc.
- Function call
- Code interpreter
- File search
glados/client/slack/manifest.json
is a configuration for Slack apps. With a
manifest, you can create an app with a pre-defined configuration, or adjust the
configuration of an existing app.
Make an API key from the OpenAI dashboard. Create an Assistant from the OpenAI dashboard and get the assistant ID.
Prepare a mongo database and get the connection string. You can make it free using MongoDB Atlas.
Prepare a cloudflare account and get the API keys. GLaDOS uses cloudflare to store and serve the files.
Then create a .env
file in the root directory from dist template and fill the
values.
cp .env.dist .env
Run the following command to start the bot.
pip install flit
flit install -s
python main.py --client slack
For running the bot in socket mode, you should enable the socket mode in the bot settings.
Latest version of GLaDOS is available on Github container registry https://ghcr.io/comfuture/glados:latest .
You can pull the image using the following command.
docker pull ghcr.io/comfuture/glados:latest
Or run directly using docker compose with the following command.
docker compose up -d --force-recreate
Before running the docker compose, you should ensure all the ENV variables are set.
Pull the latest code from the repository and run the following command.
python main.py --client slack