discourse-ai/spec/lib/modules/ai_bot
Sam 30778d8af8
FIX: avoid storing corrupt prompts (#92)
```
prompt << build_message(bot_user.username, reply)
```

Would store a "cooked" prompt which is invalid, instead just store the raw
values which are later passed to build_message

Additionally:

1. Disable summary command which needs honing
2. Stop storing decorations (searched for X) in prompt which leads to straying
3. Ship username directly to model, avoiding "user: content" in prompts. This
 was causing GPT to stray
2023-06-20 15:44:03 +10:00
..
commands FEATURE: add full bot support for GPT 3.5 (#87) 2023-06-20 08:45:31 +10:00
jobs/regular FIX: avoid storing corrupt prompts (#92) 2023-06-20 15:44:03 +10:00
anthropic_bot_spec.rb FEATURE: add full bot support for GPT 3.5 (#87) 2023-06-20 08:45:31 +10:00
bot_spec.rb FIX: avoid storing corrupt prompts (#92) 2023-06-20 15:44:03 +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: avoid storing corrupt prompts (#92) 2023-06-20 15:44:03 +10:00