Skip to main content
Illustrates schema-driven extraction and validation.

1) Provide extraction tools and ask for structured data

The response includes a type: "function_call" with function_call_id and extracted fields. Execute your extraction locally if needed, then send the result.

2) Send back the extracted JSON

View source on GitHub → 3_json_extraction.py