structured-output0 questions
Enforcing specific output schemas
12votes
1answers
Comparing function calling vs JSON mode for structured output - which is better?
I need to extract structured data from unstructured text using GPT-4. I've tried both approaches: **Function Calling:** ```python response = client.chat.completions.create( model="gpt-4", mes...
8votes
0answers
Comparing function calling vs JSON mode for structured output - which is better?
I need to extract structured data from unstructured text using GPT-4. I've tried both approaches: **Function Calling:** ```python response = client.chat.completions.create( model="gpt-4", mes...
18votes
0answers
Comparing function calling vs JSON mode for structured output - which is better?
I need to extract structured data from unstructured text using GPT-4. I've tried both approaches: **Function Calling:** ```python response = client.chat.completions.create( model="gpt-4", mes...