Go to file
Sam 8df966e9c5
FEATURE: smooth streaming of AI responses on the client (#413)
This PR introduces 3 things:

1. Fake bot that can be used on local so you can test LLMs, to enable on dev use:

SiteSetting.ai_bot_enabled_chat_bots = "fake"

2. More elegant smooth streaming of progress on LLM completion

This leans on JavaScript to buffer and trickle llm results through. It also amends it so the progress dot is much 
more consistently rendered

3. It fixes the Claude dialect 

Claude needs newlines **exactly** at the right spot, amended so it is happy 

---------

Co-authored-by: Martin Brennan <martin@discourse.org>
2024-01-11 15:56:40 +11:00
.github/workflows Initial commit 2023-02-17 11:33:47 -03:00
app DEV: Fix SemanticRelated module load error (#419) 2024-01-11 13:52:50 +10:00
assets FEATURE: smooth streaming of AI responses on the client (#413) 2024-01-11 15:56:40 +11:00
config FEATURE: Support for SRV records for Discourse services (#414) 2024-01-10 19:23:07 -03:00
db DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
discourse_automation FEATURE: allow sending AI based report to a topic (#377) 2023-12-22 11:46:23 +11:00
lib FEATURE: smooth streaming of AI responses on the client (#413) 2024-01-11 15:56:40 +11:00
spec FEATURE: smooth streaming of AI responses on the client (#413) 2024-01-11 15:56:40 +11:00
test/javascripts FEATURE: smooth streaming of AI responses on the client (#413) 2024-01-11 15:56:40 +11:00
tokenizers Mixtral (#376) 2023-12-26 14:49:55 -03:00
.discourse-compatibility DEV: Updates to the summarization strategy API (#301) 2023-11-21 13:27:35 -03: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: Update linting (#326) 2023-11-29 23:01:48 +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 (#326) 2023-11-29 23:01:48 +01:00
plugin.rb DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
translator.yml DEV: Add Crowdin support (#108) 2023-07-15 00:56:15 +02:00
yarn.lock DEV: Update linting (#326) 2023-11-29 23:01:48 +01:00

README.md

Discourse AI Plugin

Plugin Summary

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