Skip to content

Slot: compiled

Whether the module has been compiled by a teleprompter.

URI: dspy:compiled

Applicable Classes

Name Description Modifies Slot
Module Base class for DSPy programs (``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
BestOfN Sample N candidates and select the highest-rewarded (``dspy no
Refine Iterative refinement loop (``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
KNN K-nearest-neighbor demo selector (``dspy no
Parallel Run modules in parallel across batched inputs (``dspy no
RLM Reinforcement-learning model wrapper (``dspy no
Aggregator Aggregation helper (``dspy no
Retriever Abstract retrieval module no
Retrieve Generic retrieve module that calls ``dspy no
Embeddings Embedding-based nearest-neighbour retriever (``dspy no
EmbeddingsWithScores Embeddings retriever that also returns similarity scores (``dspy no
ColBERTv2 Remote ColBERTv2 retrieval server (``dspy no

Properties

Type and Range

Property Value
Range Boolean
Domain Of Module

Cardinality and Requirements

Property Value
### Slot Characteristics
Property Value
If Absent boolean(False)

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: compiled
description: Whether the module has been compiled by a teleprompter.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
ifabsent: boolean(False)
domain_of:
- Module
range: boolean