Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.95 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.95 KB

Exploring the Discord API with discord.py and the OpenAI API.

This is mainly used for toying around with a bot user in a single server. I haven't tried anything with multi-server configs yet, but I don't imagine they'd work well for the time being.

Setup

TODO items

  • switch from ChatCompletion to the Assistants API; each server in its own thread with channel:username as the message name values
    • store channel-username: threadid mappings locally; if no thread ID exists, create thread and carry over last (up to) 10 messages in history
  • summarize user-attached images via https://platform.openai.com/docs/guides/vision
  • add function calling for:
  • handle multi-server bots and settings

Shorter-term fun goals

  • Docker build with helm deployment
  • Feedback loop based on 👍👎 reactions to bot messages
    • Persistent storage
  • Web UI for monitoring context window and some basic overrides/commands

Longer-term fun goals