Slot: config
Default keyword arguments forwarded to the underlying LM.
URI: dspy:config
Applicable Classes
| Name |
Description |
Modifies Slot |
| LMRequest |
Normalized request handed to a BaseLM (``dspy |
yes |
| Predictor |
Module that wraps a Signature + LM and produces a Prediction |
no |
| Predict |
Basic input-to-output predictor (``dspy |
no |
| ChainOfThought |
Predictor that injects a free-form rationale field (``dspy |
no |
| MultiChainComparison |
Generates N chains and selects the best (``dspy |
no |
| ReAct |
Reasoning + Acting agent with tool use (``dspy |
no |
| ReActV2 |
Next-generation ReAct agent (``dspy |
no |
| ProgramOfThought |
Tool-using predictor that emits and executes Python code (``dspy |
no |
| CodeAct |
Code-acting agent (``dspy |
no |
Properties
Type and Range
Cardinality and Requirements
Schema Source
Mappings
| Mapping Type |
Mapped Value |
| self |
dspy:config |
| native |
dspy:config |
LinkML Source
name: config
description: Default keyword arguments forwarded to the underlying LM.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- LMRequest
- Predictor
range: Any