discourse-ai/lib/modules/ai_bot
Sam 0b62c0fa02
FIX: keep parity of shape for image command (#275)
Function calling will start hallucinating if you reshape results.

Previously we were morphing from:

`{ prompts: ["prompt 1", "prompt 2"] }`

to

`{ prompts: { prompt: "prompt 1", seed: 222}, { ... `

This meant that over a few call sequences function_call starts hallucinating an incorrect shape.

This change grounds us even on GPT-3.5
2023-10-31 19:12:25 +11:00
..
commands FIX: keep parity of shape for image command (#275) 2023-10-31 19:12:25 +11:00
jobs/regular FIX: automatic bot titles missing sometime (#151) 2023-08-24 07:20:24 +10:00
personas FIX: avoid semicolons at the end of queries for SQL Helper (#268) 2023-10-27 16:21:09 +11:00
anthropic_bot.rb FIX: setting explorer was exceeding token budget 2023-09-01 11:48:51 +10:00
bot.rb FIX: Include OP when building title suggestion prompt. (#248) 2023-10-10 14:08:08 +11:00
entry_point.rb FEATURE: defer creation of bot users (#258) 2023-10-23 17:00:58 +11:00
open_ai_bot.rb FIX: improve token counting (#234) 2023-09-28 15:32:22 +10:00
site_settings_extension.rb FEATURE: defer creation of bot users (#258) 2023-10-23 17:00:58 +11:00