discourse-ai/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 FIX: avoid storing corrupt prompts (#92) 2023-06-20 15:44:03 +10:00
jobs/regular FEATURE: Less friction for starting a conversation with an AI bot. (#63) 2023-05-16 14:38:21 -03:00
anthropic_bot.rb FEATURE: add full bot support for GPT 3.5 (#87) 2023-06-20 08:45:31 +10:00
bot.rb FIX: avoid storing corrupt prompts (#92) 2023-06-20 15:44:03 +10:00
entry_point.rb FEATURE: add support for GPT <-> Forum integration 2023-05-20 17:45:54 +10:00
open_ai_bot.rb FIX: avoid storing corrupt prompts (#92) 2023-06-20 15:44:03 +10:00