discourse-ai/spec/lib/modules/ai_bot
Sam d85b503ed4
FIX: guide GPT 3.5 better (#77)
* FIX: guide GPT 3.5 better

This limits search results to 10 cause we were blowing the whole token
budget on search results, additionally it includes a quick exchange at
the start of a session to try and guide GPT 3.5 to follow instructions

Sadly GPT 3.5 drifts off very quickly but this does improve stuff a bit.

It also attempts to correct some issues with anthropic, though it still is
surprisingly hard to ground

* add status:public, this is a bit of a hack but ensures that we can search
for any filter provided

* fix specs
2023-05-23 23:08:17 +10:00
..
commands FIX: guide GPT 3.5 better (#77) 2023-05-23 23:08:17 +10:00
jobs/regular FIX: guide GPT 3.5 better (#77) 2023-05-23 23:08:17 +10:00
anthropic_bot_spec.rb FIX: guide GPT 3.5 better (#77) 2023-05-23 23:08:17 +10:00
bot_spec.rb FIX: guide GPT 3.5 better (#77) 2023-05-23 23:08:17 +10:00
entry_point_spec.rb FEATURE: add support for GPT <-> Forum integration 2023-05-20 17:45:54 +10:00
open_ai_bot_spec.rb FIX: guide GPT 3.5 better (#77) 2023-05-23 23:08:17 +10:00