discourse-ai/spec/lib/modules/ai_bot/commands
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
..
categories_command_spec.rb FEATURE: add support for GPT <-> Forum integration 2023-05-20 17:45:54 +10:00
command_spec.rb iterate commands (#73) 2023-05-22 12:09:14 +10:00
google_command_spec.rb iterate commands (#73) 2023-05-22 12:09:14 +10:00
search_command_spec.rb FIX: guide GPT 3.5 better (#77) 2023-05-23 23:08:17 +10:00
summarize_command_spec.rb iterate commands (#73) 2023-05-22 12:09:14 +10:00
tags_command_spec.rb FEATURE: add support for GPT <-> Forum integration 2023-05-20 17:45:54 +10:00