Go to file
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
.github/workflows Initial commit 2023-02-17 11:33:47 -03:00
admin/assets/javascripts/discourse DEV: Moving around admin persona config routes again (#586) 2024-05-02 12:42:30 +10:00
app FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
assets FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
config FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
db FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
discourse_automation FEATURE: Mixtral/Mistral/Haiku Automation Support (#571) 2024-04-11 09:50:46 -03:00
lib FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
public/ai-share UX: prevent social share content from overflowing container (#597) 2024-04-30 09:47:21 -04:00
spec FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
test/javascripts FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
tokenizers FEATURE: Add BGE-M3 embeddings support (#569) 2024-04-10 17:24:01 -03:00
.discourse-compatibility DEV: Lower pinned version to fix unsupported API error on stable (#514) 2024-03-07 14:30:05 +00:00
.eslintrc.cjs DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.gitignore Initial commit 2023-02-17 11:33:47 -03:00
.prettierignore FEATURE: UI to update ai personas on admin page (#290) 2023-11-21 16:56:43 +11:00
.prettierrc.cjs DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.rubocop.yml DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.streerc DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.template-lintrc.cjs DEV: Update linting (#326) 2023-11-29 23:01:48 +01:00
Gemfile DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
Gemfile.lock DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00
LICENSE Initial commit 2023-02-17 11:33:47 -03:00
README.md CHORE: Update Readme (#185) 2023-09-04 15:46:35 -03:00
package.json DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00
plugin.rb FIX: Secure/unsecure uploads when sharing AI conversations (#554) 2024-04-11 10:00:41 +10:00
translator.yml UX: Display the indexing progress for RAG uploads (#557) 2024-04-09 11:03:07 -03:00
yarn.lock DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00

README.md

Discourse AI Plugin

Plugin Summary

For more information, please see: https://meta.discourse.org/t/discourse-ai/259214?u=falco