Skip to content

Slot: lm

Language model bound to this predictor / program.

URI: dspy:lm

Applicable Classes

Name Description Modifies Slot
Predictor Module that wraps a Signature + LM and produces a Prediction no
RLM Reinforcement-learning model wrapper (``dspy no
Settings Global DSPy configuration singleton (``dspy 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

Property Value
Range BaseLM
Domain Of Predictor, RLM, Settings

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:lm
native dspy:lm

LinkML Source

name: lm
description: Language model bound to this predictor / program.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- Predictor
- RLM
- Settings
range: BaseLM
inlined: true