discourse-ai/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 FEATURE: smooth streaming of AI responses on the client (#413) 2024-01-11 15:56:40 +11:00
ai_helper FEATURE: Add DallE support to AI helper's illustrate post (#404) 2024-01-05 09:03:23 -08:00
automation FIX: AI helper not working correctly with mixtral (#399) 2024-01-04 09:53:47 -03:00
completions FEATURE: smooth streaming of AI responses on the client (#413) 2024-01-11 15:56:40 +11:00
database DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
embeddings DEV: Fix SemanticRelated module load error (#419) 2024-01-11 13:52:50 +10:00
inference FEATURE: Support for SRV records for Discourse services (#414) 2024-01-10 19:23:07 -03:00
nsfw FEATURE: Support for SRV records for Discourse services (#414) 2024-01-10 19:23:07 -03:00
sentiment FEATURE: Support for SRV records for Discourse services (#414) 2024-01-10 19:23:07 -03:00
summarization FEATURE: Support for SRV records for Discourse services (#414) 2024-01-10 19:23:07 -03:00
tasks/modules FEATURE: Per post embeddings (#387) 2023-12-29 12:28:45 -03:00
tokenizer Mixtral (#376) 2023-12-26 14:49:55 -03:00
toxicity FEATURE: Support for SRV records for Discourse services (#414) 2024-01-10 19:23:07 -03:00
utils FEATURE: DNS SRV support for TEI (#363) 2023-12-18 13:21:21 -03:00
automation.rb FEATURE: LLM based peroidical summary report (#357) 2023-12-19 12:04:15 +11:00
chat_message_classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
engine.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
post_classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00