discourse-ai/spec
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
..
fabricators FEATURE: UI to update ai personas on admin page (#290) 2023-11-21 16:56:43 +11:00
fixtures/embeddings FEATURE: Embeddings to main db (#99) 2023-07-13 12:41:36 -03:00
jobs/regular DEV: Cook streamed suggestion (#354) 2023-12-13 12:24:22 -08:00
lib FEATURE: smooth streaming of AI responses on the client (#413) 2024-01-11 15:56:40 +11:00
models FIX: Custom instructions where missing when generating custom prompt input (#348) 2023-12-11 19:26:56 -03:00
requests DEV: Fix SemanticRelated module load error (#419) 2024-01-11 13:52:50 +10:00
serializers Revert "FIX: Use Guardian.basic_user instead of new (anon) (#332)" (#337) 2023-12-06 16:26:43 +10:00
shared DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
support DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
system DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
plugin_spec.rb DEV: DiscourseAI -> DiscourseAi rename to have consistent folders and files (#9) 2023-03-14 16:03:50 -03:00