discourse-ai/lib/completions/dialects
Roman Rizzi c0a2d4c935
DEV: Use structured responses for summaries (#1252)
* DEV: Use structured responses for summaries

* Fix system specs

* Make response_format a first class citizen and update endpoints to support it

* Response format can be specified in the persona

* lint

* switch to jsonb and make column nullable

* Reify structured output chunks. Move JSON parsing to the depths of Completion

* Switch to JsonStreamingTracker for partial JSON parsing
2025-05-06 10:09:39 -03:00
..
chat_gpt.rb FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
claude.rb FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
claude_tools.rb FEATURE: implement thinking token support (#1155) 2025-03-04 12:22:30 +11:00
cohere_tools.rb FEATURE: Add native Cohere tool support (#655) 2024-06-04 08:59:15 +10:00
command.rb FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
dialect.rb FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
fake.rb FEATURE: Amazon Nova support via bedrock (#997) 2024-12-06 07:45:58 +11:00
gemini.rb FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
mistral.rb FEATURE: Amazon Nova support via bedrock (#997) 2024-12-06 07:45:58 +11:00
nova.rb DEV: Use structured responses for summaries (#1252) 2025-05-06 10:09:39 -03:00
nova_tools.rb FEATURE: Amazon Nova support via bedrock (#997) 2024-12-06 07:45:58 +11:00
ollama.rb FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
ollama_tools.rb FEATURE: Tools for models from Ollama provider (#819) 2024-10-11 07:25:53 +11:00
open_ai_compatible.rb FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
open_ai_tools.rb FIX: Make sure custom tool enums follow json-schema. (#718) 2024-07-16 14:23:17 -03:00
xml_tools.rb FEATURE: allow specifying tool use none in completion prompt 2025-03-25 08:06:43 +11:00