discourse-ai/spec/lib/completions
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
..
dialects FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
endpoints DEV: Use structured responses for summaries (#1252) 2025-05-06 10:09:39 -03:00
anthropic_message_processor_spec.rb FEATURE: implement thinking token support (#1155) 2025-03-04 12:22:30 +11:00
json_stream_decoder_spec.rb FEATURE: improve tool support (#904) 2024-11-12 08:14:30 +11:00
llm_spec.rb FEATURE: better logging for automation reports (#853) 2024-10-23 16:49:56 +11:00
prompt_messages_builder_spec.rb FEATURE: add OpenAI image generation and editing capabilities (#1293) 2025-04-29 17:38:54 +10:00
prompt_spec.rb FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
structured_output_spec.rb DEV: Use structured responses for summaries (#1252) 2025-05-06 10:09:39 -03:00
upload_encoder_spec.rb FEATURE: enforce jpg/png for all images (#1309) 2025-05-05 17:46:37 +10:00
xml_tag_stripper_spec.rb FIX: display search correctly, bug when stripping XML (#668) 2024-06-14 15:28:40 +10:00
xml_tool_processor_spec.rb FEATURE: AI artifacts (#898) 2024-11-19 09:22:39 +11:00