discourse-ai/lib/modules/ai_bot/commands
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
..
categories_command.rb FEATURE: add full bot support for GPT 3.5 (#87) 2023-06-20 08:45:31 +10:00
command.rb FEATURE: add full bot support for GPT 3.5 (#87) 2023-06-20 08:45:31 +10:00
google_command.rb FEATURE: add full bot support for GPT 3.5 (#87) 2023-06-20 08:45:31 +10:00
image_command.rb FIX: avoid storing corrupt prompts (#92) 2023-06-20 15:44:03 +10:00
search_command.rb FIX: avoid storing corrupt prompts (#92) 2023-06-20 15:44:03 +10:00
summarize_command.rb FEATURE: add full bot support for GPT 3.5 (#87) 2023-06-20 08:45:31 +10:00
tags_command.rb FEATURE: add full bot support for GPT 3.5 (#87) 2023-06-20 08:45:31 +10:00
time_command.rb FEATURE: add full bot support for GPT 3.5 (#87) 2023-06-20 08:45:31 +10:00