discourse-ai/assets/javascripts/discourse/lib
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-helper.js FEATURE: optional warning attached to all AI bot conversations (#137) 2023-08-17 06:29:58 +10:00
ai-streamer.js FEATURE: smooth streaming of AI responses on the client (#413) 2024-01-11 15:56:40 +11:00
copy-conversation.js FIX: use async versions of clipboardCopy (#389) 2023-12-29 22:50:10 +11:00
show-ai-helper.js FEATURE: AI helper on posts (#244) 2023-10-23 11:41:36 -03:00