discourse-ai/spec/lib/modules/ai_bot/commands
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
..
categories_command_spec.rb FEATURE: basic progress for image generation (#133) 2023-08-14 16:30:12 +10:00
command_spec.rb FEATURE: defer creation of bot users (#258) 2023-10-23 17:00:58 +11:00
db_schema_command_spec.rb FIX: avoid semicolons at the end of queries for SQL Helper (#268) 2023-10-27 16:21:09 +11:00
google_command_spec.rb FEATURE: defer creation of bot users (#258) 2023-10-23 17:00:58 +11:00
image_command_spec.rb FIX: keep parity of shape for image command (#275) 2023-10-31 19:12:25 +11:00
read_command_spec.rb FEATURE: defer creation of bot users (#258) 2023-10-23 17:00:58 +11:00
search_command_spec.rb FEATURE: defer creation of bot users (#258) 2023-10-23 17:00:58 +11:00
search_settings_command_spec.rb FIX: setting explorer was exceeding token budget 2023-09-01 11:48:51 +10:00
setting_context_command.rb FEATURE: add setting_context experimental command (#160) 2023-08-29 10:43:58 +10:00
summarize_command_spec.rb FEATURE: defer creation of bot users (#258) 2023-10-23 17:00:58 +11:00
tags_command_spec.rb FEATURE: basic progress for image generation (#133) 2023-08-14 16:30:12 +10:00
time_command_spec.rb FEATURE: basic progress for image generation (#133) 2023-08-14 16:30:12 +10:00