xitiomet / irc-gpt-bot

An IRC chat bot that uses chatGPT
Other
11 stars 1 forks source link

Continue passively learning from channel messages #2

Closed Cabji closed 1 year ago

Cabji commented 1 year ago

Is it possible to make the bot passively learn simply by it watching/processing information that is sent in an IRC channel? This would be really cool.

xitiomet commented 1 year ago

Sadly not possible yet, the application is not doing any of the AI legwork, everything is offloaded to chatGPT's API. (which doesn't have a memory at all)

You can increase how much of the chat history is provided for context on every request by increasing the "contextDepth" in the config file. However this will increase the cost of doing business with OpenAI since they charge based on the number of tokens (words) sent with each request.