Step-by-step guide to setting up function calling in the OpenAI API to trigger automated SQL queries based on user intent.
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
Step-by-step guide to setting up function calling in the OpenAI API to trigger automated SQL queries based on user intent.
2 real searches · 1 real-search pass
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
Classifying 2 queries…
Searches and sources
ChatGPT2 real searches · gpt-6
OpenAI API function calling tools documentation Responses API Python official Google ↗
OpenAI API structured outputs function calling strict mode official documentation Google ↗
- Function calling · developers.openai.com
- Structured model outputs · developers.openai.com
- Responses Overview · developers.openai.com
- Function calling · developers.openai.com
Queries
2 queries · click a column to sort