missing_required_parameter response_format.json_schema using example code in Unity (C# 9.0) #205
Closed
3 tasks done
Labels
bug
Something isn't working
Confirm this is not an issue with the OpenAI Python Library
Confirm this is not an issue with the underlying OpenAI API
Confirm this is not an issue with Azure OpenAI
Describe the bug
I'm always getting the same error message as soon as I try to use any variation of ChatResponseFormat.CreateJsonSchemaFormat
In the code below, if I use
chatOptions.ResponseFormat = ChatResponseFormat.JsonObject
, I don't get an error message, but then I of course don't get to specify the schema.This user was also having issues in Unity, but the error message was unclear so it's hard to know if it's the same issue. Plus whatever fixed it should be documented.
To Reproduce
Run the code below in Unity 2022.3.22f1
Library installed using NuGet for Unity
Code snippets
OS
winOS
.NET version
.NET Standard 2.1
Library version
2.0.0-beta.10
The text was updated successfully, but these errors were encountered: