Replies: 1 comment
-
With Json mode you wont need the function call to receive responses in JSON
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just read this article , the examples are in javascript, i tried to replicate it with this lib but go some errors, is there an example about how to use these 2 parameters?
My code looks like this:
The jsonSchema variable is a plain text json schema string.
I didn't know what to pass to "FuncitonCall" since it can be "any"
The error returned was:
{"type":"object","properties":{"title":{"type":"string"},"content":{"type":"string"}},"required":["title","content"]} is not of type 'object' - 'functions.0.parameters
Beta Was this translation helpful? Give feedback.
All reactions