Skip to content

williamkray/maubot-chatgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatGPT

maubot plugin to allow your maubot instance to return queries from openAI GPT API endpoints.

Usage

  1. Create the bot instance in Maubot Manager, add your openAI API key to the config, and modify as you see fit.
  2. Invite the bot to a room.
  3. Ping the bot by mentioning it by name.

Features

See base-config.yaml for more details.

  • Uses the most recent messages in the room for context, or replies to queries in threads to keep conversations isolated
  • Multi-user awareness:
    • Option to prefix every context message with the display name of the sender, and adds a system prompt informing the model of that fact. this increases personal data shared with openAI as well as your used token count, but makes the bot work a little better in multi-person chat rooms
  • Configurable system prompt and option to pre-append messages to the context

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages