discourse-ai/assets/javascripts/discourse/components
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
..
modal FEATURE: Enhance AI debugging capabilities and improve interface adjustments (#577) 2024-04-15 23:22:06 +10:00
ai-bot-header-icon.gjs DEV: Update to new header API and FloatKit (#516) 2024-03-08 10:07:48 +00:00
ai-bot-header-panel.hbs DEV: Update to new header API and FloatKit (#516) 2024-03-08 10:07:48 +00:00
ai-bot-header-panel.js DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
ai-command-selector.js FIX: command selector behavior stopped working (#330) 2023-12-02 14:20:26 +11:00
ai-helper-custom-prompt.gjs DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00
ai-helper-loading.gjs FEATURE: Add streaming to post AI helper's explain option (#344) 2023-12-12 09:28:39 -08:00
ai-llm-selector.js FEATURE: mentionable personas and random picker tool, context limits (#466) 2024-02-15 16:37:59 +11:00
ai-persona-command-option-editor.gjs DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00
ai-persona-command-options.gjs FEATURE: allow personas to provide command options (#331) 2023-12-08 08:42:56 +11:00
ai-persona-editor.gjs FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
ai-persona-list-editor.gjs DEV: Moving around admin persona config routes again (#586) 2024-05-02 12:42:30 +10:00
ai-split-topic-suggester.gjs DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00
ai-suggestion-dropdown.gjs DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00
model-accuracies.hbs FEATURE: Composer AI helper (#8) 2023-03-15 17:02:20 -03:00
persona-rag-uploader.gjs FEATURE: Add Question Consolidator for robust Upload support in Personas (#596) 2024-04-30 13:49:21 +10:00
rag-upload-progress.gjs FIX: RAG uploader must support multi-file indexing. (#592) 2024-04-25 10:48:55 -03:00
reviewable-ai-chat-message.hbs FIX: 500 error when reviewable has a missing message (#397) 2024-01-03 11:49:47 -03:00
reviewable-ai-chat-message.js FIX: 500 error when reviewable has a missing message (#397) 2024-01-03 11:49:47 -03:00
reviewable-ai-post.hbs DEV: DiscourseAI -> DiscourseAi rename to have consistent folders and files (#9) 2023-03-14 16:03:50 -03:00
thumbnail-suggestion-item.gjs DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00