discourse/plugins/discourse-ai/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
artist.rb
bot.rb
bot_context.rb
concept_deduplicator.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
concept_finder.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
concept_matcher.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
content_creator.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
creative.rb
custom_prompt.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
dall_e_3.rb
designer.rb
discourse_helper.rb
forum_researcher.rb
general.rb
github_helper.rb
image_captioner.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
locale_detector.rb
markdown_table_generator.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
persona.rb
post_illustrator.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
post_raw_translator.rb
proofreader.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
question_consolidator.rb
report_runner.rb
researcher.rb
settings_explorer.rb
short_summarizer.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
short_text_translator.rb
smart_dates.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
spam_detector.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
sql_helper.rb
summarizer.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
titles_generator.rb
tool_runner.rb
topic_title_translator.rb
translator.rb
tutor.rb FIX: Default prompts have to be explicit about the expected format. (#34442) 2025-08-20 13:56:21 -03:00
web_artifact_creator.rb