Sampling

Appears in 3 tutorials

A client primitive that lets a server ask the host's model to generate text — so servers can use the LLM without holding their own API key.

As used in Model Context Protocol (MCP) →

A client primitive that lets a server ask the host's model to generate text — so servers can use the LLM without holding their own API key.

As used in AI Production Engineering →

Keeping full detail for a representative subset of requests (plus all errors/flagged cases) to control storage cost at scale. (Mod 2)

As used in LLM Infrastructure →

Choosing the actual next token from the model's predicted probabilities. Controlled by temperature, top-p, top-k.