discourse-ai/lib
Sam 7d943be7b2
FIX: automatic bot titles missing sometime (#151)
This fixes 2 big issues:

1. No matter how hard you try, grounding anthropic title prompt
is just too hard. This works around by only looking at the last
sentence it returns and treating as title

2. Non English locales would be stuck with "generic" title, this
ensures every bot message gets a title, using a custom field to
track

Also, slightly tunes some anthropic prompts.
2023-08-24 07:20:24 +10:00
..
discourse_ai FEATURE: Composer AI helper (#8) 2023-03-15 17:02:20 -03:00
modules FIX: automatic bot titles missing sometime (#151) 2023-08-24 07:20:24 +10:00
shared FIX: automatic bot titles missing sometime (#151) 2023-08-24 07:20:24 +10:00
tasks/modules PERF: .find_each instead of .find to save us from memory allocation peaks 2023-07-13 18:59:25 -03:00