discourse-ai/assets/javascripts/initializers
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
..
ai-bot-replies.js FEATURE: smooth streaming of AI responses on the client (#413) 2024-01-11 15:56:40 +11:00
ai-semantic-search.js DEV: Mix semantic search results with normal results (#278) 2023-11-17 12:46:59 -08:00
related-topics.js FIX: Show related topics when scrolling long topics (#111) 2023-07-19 19:19:38 -03:00