CompletionOptions Type
Configuration for an LLM completion request
Record fields
| Record Field |
Description
|
Full Usage:
MaxTokens
Field type: int option
|
Maximum number of tokens to generate. None means provider default.
|
Full Usage:
StopSequences
Field type: string list
|
Sequences that cause the model to stop generating further tokens
|
Full Usage:
Temperature
Field type: float
|
Sampling temperature (0.0 = deterministic, 1.0+ = creative). Default: 0.7
|
Static members
| Static member |
Description
|
|
Sensible defaults: temperature 0.7, no token limit, no stop sequences
|
Nao