MiniEval / DiscordLLM

LLM bridge between OpenAI-based APIs and Discord's bot API
1 stars 1 forks source link

DiscordLLM

Simple LLM bridge between Ooba API (or OpenAI-based APIs) and Discord's bot API. Comes with built-in summarisation functionality to prevent loops.

Usage: python chatbot.py -c [Character config file] -s [LLM API IP:Port]

Example character/config files are provided for an AI assistant prompted with Alpaca. See this for a full list of LLM generation params.

A universal chat prompt is also included. Recommended for any LLM checkpoint that is trained or merged with an Alpaca fine-tune.

Requirements: