Skip to content

Glossary: Building with LLMs Basics

API (application programming interface)

Also written: API, APIs

A way for one program to send requests to another over the web and get answers back. Here, your Python code sends a prompt to a provider's API and gets the model's reply as JSON.

Where the book teaches it

Related terms

JSON schema