discourse-ai/lib/configuration
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
..
embedding_defs_enumerator.rb FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
embedding_defs_validator.rb DEV: Robust check for embeddings enabled (#1116) 2025-02-06 12:18:55 -03:00
embeddings_model_validator.rb FIX: Embeddings validator test needs to use the new Vector class. (#1041) 2024-12-23 14:19:22 -03:00
embeddings_module_validator.rb FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
feature.rb FIX: make AI helper more robust (#1484) 2025-07-04 14:47:11 +10:00
llm_dependency_validator.rb FEATURE: Use different personas to power AI helper features. 2025-06-04 14:23:00 -03:00
llm_enumerator.rb FEATURE: display more places where AI is used / Chat streamer (#1278) 2025-04-24 16:22:19 +10:00
llm_validator.rb FEATURE: New setting to control model for translations (#1333) 2025-05-12 12:12:30 -03:00
llm_vision_enumerator.rb FEATURE: Track if a model can do vision in the llm_models table (#725) 2024-07-24 16:29:47 -03:00
module.rb FEATURE: Use personas for generating hypothetical posts (#1482) 2025-07-02 10:56:38 -03:00
persona_enumerator.rb FEATURE: Personas powered summaries. (#1232) 2025-04-02 12:54:47 -03:00
spam_detection_validator.rb DEV: Add back validator for Spam setting (#1415) 2025-06-06 10:56:36 -07:00