discourse-ai/lib/personas
Natalie Tay ad6a8cb812
DEV: Switch translations out of structured output as it returns only a single value (#1503)
Since translations only require a single key back, there is little point in using structured output. This PR also includes some prompt updates dealing with quotes, details, and code.

Related: #1502

This does mean reverting discourse/discourse-translator#257, but we can see how it goes.
2025-07-16 13:38:00 +08:00
..
artifact_update_strategies FEATURE: persistent key-value storage for AI Artifacts (#1417) 2025-06-11 06:59:46 +10:00
tools DEV: Move tokenizers to a gem (#1481) 2025-07-02 14:43:03 -03:00
artist.rb REFACTOR: Move personas into its own module. (#1233) 2025-03-31 14:42:33 -03:00
bot.rb FEATURE: Use personas for generating hypothetical posts (#1482) 2025-07-02 10:56:38 -03:00
bot_context.rb FEATURE: Use Persona's when scanning posts for spam (#1465) 2025-06-27 10:35:47 -03:00
concept_deduplicator.rb FEATURE: add inferred concepts system (#1330) 2025-06-02 14:29:20 -03:00
concept_finder.rb FEATURE: add inferred concepts system (#1330) 2025-06-02 14:29:20 -03:00
concept_matcher.rb FEATURE: add inferred concepts system (#1330) 2025-06-02 14:29:20 -03:00
content_creator.rb FEATURE: Use personas for generating hypothetical posts (#1482) 2025-07-02 10:56:38 -03:00
creative.rb REFACTOR: Move personas into its own module. (#1233) 2025-03-31 14:42:33 -03:00
custom_prompt.rb FIX: Include JSON instructions in Helper default personas (#1458) 2025-06-23 11:57:50 -03:00
dall_e_3.rb REFACTOR: Move personas into its own module. (#1233) 2025-03-31 14:42:33 -03:00
designer.rb FEATURE: add OpenAI image generation and editing capabilities (#1293) 2025-04-29 17:38:54 +10:00
discourse_helper.rb REFACTOR: Move personas into its own module. (#1233) 2025-03-31 14:42:33 -03:00
forum_researcher.rb DEV: improve tool infra, improve forum researcher prompts, improve logging (#1391) 2025-06-03 15:17:55 +10:00
general.rb REFACTOR: Move personas into its own module. (#1233) 2025-03-31 14:42:33 -03:00
github_helper.rb FEATURE: ensure researcher and github helper know the date (#1312) 2025-05-06 14:39:30 +10:00
image_captioner.rb FIX: Include JSON instructions in Helper default personas (#1458) 2025-06-23 11:57:50 -03:00
locale_detector.rb DEV: Switch translations out of structured output as it returns only a single value (#1503) 2025-07-16 13:38:00 +08:00
markdown_table_generator.rb FIX: Include JSON instructions in Helper default personas (#1458) 2025-06-23 11:57:50 -03:00
persona.rb FEATURE: Use Personas in Automation's llm_report script (#1499) 2025-07-14 12:47:21 -03:00
post_illustrator.rb FIX: Include JSON instructions in Helper default personas (#1458) 2025-06-23 11:57:50 -03:00
post_raw_translator.rb DEV: Switch translations out of structured output as it returns only a single value (#1503) 2025-07-16 13:38:00 +08:00
proofreader.rb FIX: Include JSON instructions in Helper default personas (#1458) 2025-06-23 11:57:50 -03:00
question_consolidator.rb DEV: Move tokenizers to a gem (#1481) 2025-07-02 14:43:03 -03:00
report_runner.rb FIX: avoid using structured outputs for report runs (#1502) 2025-07-15 13:14:52 +10:00
researcher.rb FEATURE: ensure researcher and github helper know the date (#1312) 2025-05-06 14:39:30 +10:00
settings_explorer.rb REFACTOR: Move personas into its own module. (#1233) 2025-03-31 14:42:33 -03:00
short_summarizer.rb FIX: Structured output discrepancies. (#1340) 2025-05-15 11:32:10 -03:00
short_text_translator.rb DEV: Switch translations out of structured output as it returns only a single value (#1503) 2025-07-16 13:38:00 +08:00
smart_dates.rb FIX: Include JSON instructions in Helper default personas (#1458) 2025-06-23 11:57:50 -03:00
spam_detector.rb FIX: Clarify spam response expectations. (#1470) 2025-06-27 16:59:55 -03:00
sql_helper.rb REFACTOR: Move personas into its own module. (#1233) 2025-03-31 14:42:33 -03:00
summarizer.rb FIX: Update topic summarization prompt to work better when using full names (#1409) 2025-06-05 12:28:29 -03:00
titles_generator.rb DEV: Move title suggestion to an array (#1435) 2025-06-16 18:06:54 -03:00
tool_runner.rb DEV: Move tokenizers to a gem (#1481) 2025-07-02 14:43:03 -03:00
topic_title_translator.rb DEV: Switch translations out of structured output as it returns only a single value (#1503) 2025-07-16 13:38:00 +08:00
translator.rb FIX: make AI helper more robust (#1484) 2025-07-04 14:47:11 +10:00
tutor.rb FIX: Include JSON instructions in Helper default personas (#1458) 2025-06-23 11:57:50 -03:00
web_artifact_creator.rb FEATURE: persistent key-value storage for AI Artifacts (#1417) 2025-06-11 06:59:46 +10:00