Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 985 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 985 Bytes

chatGPT

Chat on Matrix

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