Thanks a mill for the help <@1406253189904465930> ...
# general-english
r
Thanks a mill for the help @Vignxt Flow . Please find the code snippet below # API endpoint url = "https://api.vapi.ai/structured-output" # JSON payload for structured output schema payload = { "name": "Questions", "schema": { "type": "array", "items": { "type": "object", "properties": { "question": {"type": "string"}, "expected_answer": {"type": "string"}, "answer": {"type": "string"} } } } }
3 Views