discourse-ai/lib/modules/ai_bot
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
..
commands FEATURE: implement command framework for non Open AI (#147) 2023-08-23 07:49:36 +10:00
jobs/regular FIX: automatic bot titles missing sometime (#151) 2023-08-24 07:20:24 +10:00
anthropic_bot.rb FIX: automatic bot titles missing sometime (#151) 2023-08-24 07:20:24 +10:00
bot.rb FIX: automatic bot titles missing sometime (#151) 2023-08-24 07:20:24 +10:00
entry_point.rb FIX: automatic bot titles missing sometime (#151) 2023-08-24 07:20:24 +10:00
open_ai_bot.rb FEATURE: implement command framework for non Open AI (#147) 2023-08-23 07:49:36 +10:00