discourse-ai/lib/modules
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
..
ai_bot FIX: keep parity of shape for image command (#275) 2023-10-31 19:12:25 +11:00
ai_helper PERF: Better chat thread content format for LLM (#273) 2023-10-30 19:57:46 -03:00
embeddings FEATURE: Make embeddings turn-key (#261) 2023-10-26 12:07:37 -03:00
nsfw FEATURE: Handle invalid media in NSFW module (#57) 2023-05-11 15:35:39 -03:00
sentiment DEV: DiscourseAI -> DiscourseAi rename to have consistent folders and files (#9) 2023-03-14 16:03:50 -03:00
summarization FIX: Follow fix for missing claude tags in a7adce0 (#242) 2023-10-03 19:56:29 -03:00
toxicity DEV: applies chat namespacing (#12) 2023-03-17 15:15:38 +01:00