OpenAI with json_schema response

0
Hi All,   Do anyone know whether the OpenAI connector supports specifying 'json_schema' response type? And if it does, how?   I am already aware of the Set Response Format action provided by the OpenAI connector. However it does not allow to specify JSON schema. This is the point where I am stuck at.   Thanks, Istvan
asked
2 answers
1

You can include the required response format in your prompt. I've done this before so that I could get the response and put it through a mapping to generate Mendix Objects, rather than parsing a string response

answered
-1

Alternatively, you can interact with OpenAI using the activities provided by the OpenAI Connector rather than calling the REST API directly or using custom json_schema. You might want to try the OpenAI Connector available on the Mendix Marketplace: https://marketplace.mendix.com/link/component/220472

answered