Skip to content

Slot: signature

Signature attached to a predictor.

URI: dspy:signature

Applicable Classes

Name Description Modifies Slot
Completions Container of candidate completions associated with a Prediction (``dspy no
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

Property Value
Range Signature
Domain Of Completions, Predictor

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: signature
description: Signature attached to a predictor.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- Completions
- Predictor
range: Signature
inlined: true