CARD NEWS · Prompts & AI use

Function Calling · 4 cards

Four cards for social posts, teaching materials and presentations. Capture the screen or print to a PDF.

1/4
Prompts & AI use

Function Calling

Function calling is an API capability that OpenAI introduced in June 2023. Developers describe functions to the model with JSON Schema, and the model can answer with a function name and JSON arguments instead of plain text. The application then runs the function and sends the result back, which lets the model work with tools, databases and live data.[1][2] Anthropic calls the same capability "tool use", and Google's Gemini API also supports it.[4][6]

2/4
In simple terms

An easy way to understand

" It then returns the function name and the arguments (which values to pass) as clean JSON.

3/4
Where it is used

Who uses it, and when?

[2] Its example get_weather function takes location (a string) and units (an enum of celsius or fahrenheit).

4/4
Learn more

ai.rookienote.com
/en/term/function-calling

RookieNote
← Read the full entry

Capture these cards or print them to a PDF.