discourse-ai/lib/ai_helper
Rafael dos Santos Silva 0dba6623a0
FIX: Better AI chat thread titles (#467)
* FIX: Better AI chat thread titles

- Fix quote removal when multi-line

- Use XML tags for better LLM output parsing

- Use stop_sequences for faster and less wasteful LLM calls

- Adds truncation as the last line of defense
2024-02-09 14:49:28 -03:00
..
assistant.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
chat_thread_titler.rb FIX: Better AI chat thread titles (#467) 2024-02-09 14:49:28 -03:00
entry_point.rb FIX: Illustrate post icon and translation not appearing correctly (#371) 2023-12-19 12:55:43 -08:00
painter.rb DEV: Fix various typos (#434) 2024-01-19 12:51:26 +01:00
semantic_categorizer.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00