Skip to content

v1.6.1 馃

Latest
Compare
Choose a tag to compare
@FrancescoCoding FrancescoCoding released this 23 Mar 12:48
· 12 commits to main since this release

The current release (v1.6.1) includes some brand-new useful chatbot-specific methods! 馃殌

  • getMessages()
    • Gets all the messages in the chat except for the system rules
  • clearRules()
    • Clears all the system rules
  • clearChatButRules()
    • Removes all the messages in the chat except for the system rules
  • clearMessagesIfExceedsMaxContext(int maxContext)
    • Removes the chat if the max context (interactions with the AI) is exceeded (but system rules) - Uses clearChatButRules() internally
    • Useful to give the bot short-term memory for it to be more efficient with the number of tokens utilised and time to output a response

Get started today and remember to star the repository if you find this useful! 馃槉