Skip to content

castdrian/autosupport

Repository files navigation

autosupport

A Discord bot that provides automated support using the OpenAI Assistants API with vectorized knowledge bases.

Showcase

ishare-1748115748-vesktop.mp4

Configuration

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"

Usage

Production

sudo docker compose up --build

Development

bun start

About

autosupport using openai

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5