discourse-ai/spec
Sam e4b326c711
FEATURE: support Chat with AI Persona via a DM (#488)
Add support for chat with AI personas

- Allow enabling chat for AI personas that have an associated user
- Add new setting `allow_chat` to AI persona to enable/disable chat
- When a message is created in a DM channel with an allowed AI persona user, schedule a reply job
- AI replies to chat messages using the persona's `max_context_posts` setting to determine context
- Store tool calls and custom prompts used to generate a chat reply on the `ChatMessageCustomPrompt` table
- Add tests for AI chat replies with tools and context

At the moment unlike posts we do not carry tool calls in the context.

No @mention support yet for ai personas in channels, this is future work
2024-05-06 09:49:02 +10:00
..
fabricators FEATURE: AI Bot RAG support. (#537) 2024-04-01 13:43:34 -03:00
fixtures FIX: blank metadata leading to errors (#578) 2024-04-17 13:46:40 +10:00
jobs FIX: blank metadata leading to errors (#578) 2024-04-17 13:46:40 +10:00
lib FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
models FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
requests FEATURE: Enhance AI debugging capabilities and improve interface adjustments (#577) 2024-04-15 23:22:06 +10:00
serializers DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00
shared FEATURE: Stable diffusion 3 support (#582) 2024-04-19 18:08:16 +10:00
support FIX: typo causing text_embedding_3_large to fail (#460) 2024-02-05 11:16:36 +11:00
system FEATURE: Insert footnote from explained result (#591) 2024-05-03 11:53:17 -07:00
tasks FIX: Filter soft-deleted topics when backfilling sentiment (#527) 2024-03-12 21:01:24 -03:00
plugin_spec.rb DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00