A Discord bot that provides automated support using the OpenAI Assistants API with vectorized knowledge bases.
ishare-1748115748-vesktop.mp4
Create a .env
file with the following:
DISCORD_TOKEN=your_discord_bot_token
DEV_GUILD_ID=optional_dev_guild_id
OPEN_AI_API_KEY__GUILD_ID=your_openai_api_key
OPEN_AI_ASSISTANT_ID__GUILD_ID=your_openai_assistant_id
Add support data to src/data.toml
following the format:
[support]
[[support."GUILD_ID"]]
problem = "Question text"
solution = "Answer text"
notes = "Optional additional information"
sudo docker compose up --build
bun start