discourse/plugins/discourse-ai/spec/lib/personas
Roman Rizzi 5ccd7fa1e4
FIX: Default prompts have to be explicit about the expected format. (#34442)
Wrapping the expected response with `<output>` tags confuses models,
especially those from the Claude family, which don't have schema support
and rely on prefilling. Relying on prefilling means they only know the
response must start with `{`, and how the JSON looks is only hinted at
in the system prompt.
2025-08-20 13:56:21 -03:00
..
artifact_update_strategies
tools FIX: AI search tool should respect new hyde setting (#34117) 2025-08-07 15:03:27 -03:00
bot_spec.rb
concept_deduplicator_spec.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
concept_finder_spec.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
concept_matcher_spec.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
persona_spec.rb
question_consolidator_spec.rb FEATURE: configure a default LLM model for all features (#33752) 2025-07-28 16:08:00 -03:00
researcher_spec.rb DEV: Resolve RSpec/NamedSubject lint issues in d-ai (#33810) 2025-07-24 13:50:14 +02:00
settings_explorer_spec.rb DEV: Resolve RSpec/NamedSubject lint issues in d-ai (#33810) 2025-07-24 13:50:14 +02:00
sql_helper_spec.rb DEV: Resolve RSpec/NamedSubject lint issues in d-ai (#33810) 2025-07-24 13:50:14 +02:00