discourse/plugins/discourse-ai/spec
Natalie Tay 5af43b64ce
FIX: Improve prompt and check returned value conforms to standard (#35763)
This commit improves the prompt, and also matches the return value
against this:
- https://datatracker.ietf.org/doc/html/rfc5646#section-2.2.1
- **Primary Language Subtag**: ... Two-character primary language
subtags were defined in the IANA registry according to the assignments
found in the standard "ISO 639-1:2002 ...
- **Extended Language Subtags**: ... Extended language subtags consist
solely of three-letter subtags.

This commit also moves examples into its own 

Meta:
https://meta.discourse.org/t/locale-detector-return-value-issues/381852
2025-11-05 17:41:49 +08:00
..
configuration DEV: Allow seeded models in enumerator (#35385) 2025-10-14 11:05:33 -07:00
db/migrate DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
evals REFACTOR: centralize eval orchestration around feature-driven playground (#35718) 2025-10-30 13:08:38 -03:00
fabricators DEV: AI credits should reset at start of month (#35587) 2025-10-24 06:30:32 -07:00
fixtures
jobs DEV: Add more early exits for credit limits on translation jobs (#35578) 2025-10-23 13:04:18 -07:00
lib FIX: Improve prompt and check returned value conforms to standard (#35763) 2025-11-05 17:41:49 +08:00
models DEV: AI credits should reset at start of month (#35587) 2025-10-24 06:30:32 -07:00
reports
requests UX: Make sentiment analysis reports accessible to moderators (#35577) 2025-10-23 11:39:56 -07:00
serializers DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
services FIX: Don’t create AI Problem check trackers without a target LLM. (#35447) 2025-10-16 12:38:06 -03:00
shared/inference
support
system PERF: Optimize AI translation stats query and remove caching (#35597) 2025-10-27 14:03:21 -03:00
tasks
plugin_helper.rb DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00
plugin_spec.rb FEATURE: configure a default LLM model for all features (#33752) 2025-07-28 16:08:00 -03:00