Slot: max_tokens
URI: dspy:max_tokens
Applicable Classes
| Name | Description | Modifies Slot |
|---|---|---|
| LMReasoningConfig | Reasoning controls for models with native reasoning support | no |
| LMConfig | Common generation controls for an LM request (``dspy | no |
| BaseLM | Abstract base class for DSPy language models (``dspy | no |
| LM | Concrete LiteLLM-backed language model (``dspy | no |
Properties
Type and Range
| Property | Value |
|---|---|
| Range | Integer |
| Domain Of | LMReasoningConfig, LMConfig, BaseLM |
Cardinality and Requirements
| Property | Value |
|---|---|
| ### Value Constraints |
| Property | Value |
|---|---|
| Minimum Value | 0 |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/dspy
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | dspy:max_tokens |
| native | dspy:max_tokens |
LinkML Source
name: max_tokens
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- LMReasoningConfig
- LMConfig
- BaseLM
range: integer
minimum_value: 0