discourse-ai/lib
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
..
discourse_ai FEATURE: Composer AI helper (#8) 2023-03-15 17:02:20 -03:00
discourse_automation FEATURE: Claude based scanning and OpenAI retries (#243) 2023-10-05 09:00:45 +11:00
modules FIX: keep parity of shape for image command (#275) 2023-10-31 19:12:25 +11:00
shared FIX: Update bedrock endpoint (#272) 2023-10-30 19:27:50 -03:00
tasks/modules FEATURE: Make embeddings turn-key (#261) 2023-10-26 12:07:37 -03:00