discourse-ai/spec
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
..
fixtures/embeddings FEATURE: Embeddings to main db (#99) 2023-07-13 12:41:36 -03:00
lib FIX: keep parity of shape for image command (#275) 2023-10-31 19:12:25 +11:00
models FEATURE: Multi-model support for the AI Bot module. (#56) 2023-05-11 10:03:03 -03:00
requests FEATURE: defer creation of bot users (#258) 2023-10-23 17:00:58 +11:00
serializers FIX: Serialize channel title for DMs (#90) 2023-06-16 14:37:16 -03:00
shared FEATURE: support OpenAI-Organization header (#245) 2023-10-06 10:23:18 +11:00
support FEATURE: AI helper on posts (#244) 2023-10-23 11:41:36 -03:00
system FEATURE: AI helper on posts (#244) 2023-10-23 11:41:36 -03:00
plugin_spec.rb DEV: DiscourseAI -> DiscourseAi rename to have consistent folders and files (#9) 2023-03-14 16:03:50 -03:00