Building with AI

Throughput

How much work a system can handle over time, such as tokens per second or requests per minute. Latency is about one user's wait; throughput is about serving many users at once. Improving one can worsen the other.


Related terms

Spaces

Hugging Face's hosting for small AI demo apps, often built with Python frameworks such as Gradio or Streamlit. A quick…

Streaming

Sending a model's output to the user piece by piece as it is generated, rather than all at once at the end. It is why …

Structured output

Getting a model to return data in a fixed format, usually JSON matching a schema you define, so your code can use it d…

Time to first token

How long before the first piece of a response appears. With streaming, a short time to first token makes a slow respon…

Tool calling (function calling)

Letting a model request that your software run a defined function, such as look up an order, search a database or send…

Vector database

A database designed to store embeddings and quickly find the ones closest in meaning to a query. It is the usual retri…

Beyond the definition

Knowing the word is the easy part

A short assessment scores you across five skill areas and builds a path through 18 modules, skipping whatever you already know. Free, no card.

Find your level