Building with AI

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 chat replies appear word by word. It improves perceived speed but complicates checking output before the user sees it.


Related terms

Self-hosting

Running a model on your own servers or private cloud rather than calling a provider's API. It gives more control over …

Semantic search

Search by meaning rather than exact words, using embeddings, so 'staff holiday policy' can find a document titled 'ann…

Spaces

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

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…

Throughput

How much work a system can handle over time, such as tokens per second or requests per minute. Latency is about one us…

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…

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