discourse-ai/spec/lib
Sam ab5edae121
FIX: make AI helper more robust (#1484)
* FIX: make AI helper more robust

- If JSON is broken for structured output then lean on a more forgiving parser
- Gemini 2.5 flash does not support temp, support opting out
- Evals for assistant were broken, fix interface
- Add some missing LLMs
- Translator was not mapped correctly to the feature - fix that
- Don't mix XML in prompt for translator

* lint

* correct logic

* simplify code

* implement best effort json parsing direct in the structured output object
2025-07-04 14:47:11 +10:00
..
completions FIX: make AI helper more robust (#1484) 2025-07-04 14:47:11 +10:00
discord/bot REFACTOR: Move personas into its own module. (#1233) 2025-03-31 14:42:33 -03:00
discourse_automation FIX: persona triage should be logged to automation (#1326) 2025-05-08 12:51:36 +10:00
inference FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
inferred_concepts FIX: Proper default LLM detection for inferred concepts (#1392) 2025-06-02 17:56:47 -03:00
modules FEATURE: Use personas for generating hypothetical posts (#1482) 2025-07-02 10:56:38 -03:00
personas FEATURE: Use personas for generating hypothetical posts (#1482) 2025-07-02 10:56:38 -03:00
translation FIX: Ignore captions and quotes when detecting locale and update prompts (#1483) 2025-07-03 22:57:48 +08:00
utils FIX: make AI helper more robust (#1484) 2025-07-04 14:47:11 +10:00
guardian_extensions_spec.rb FIX: Restore gists previous group access behavior. (#1247) 2025-04-07 12:04:30 -03:00