Learn how to configure model, provider, and generation parameters for your prompts.
---
), defines how Latitude executes your prompt. It’s written in YAML format and allows you to specify the AI provider, model, generation parameters, and other advanced settings.
gpt-4o-mini
, claude-3-opus-20240229
). Available models depend on the selected provider.
The model dropdown in the editor’s header lists available models for the chosen provider.
temperature
temperature
or topP
, but not both.
maxTokens
topP
(Nucleus Sampling)temperature
for controlling randomness. It instructs the model to consider only the most probable tokens whose cumulative probability mass exceeds the topP
value (e.g., 0.9 means consider tokens comprising the top 90% probability mass).
topK
K
most likely next tokens at each step. Generally used for advanced cases; temperature
or topP
are usually sufficient.
presencePenalty
frequencyPenalty
stopSequences
seed
parameters
schema
tools
maxSteps
maxRetries
headers