Skip to content
DSPy
Image
Initializing search
stanfordnlp/dspy
Community
FAQ
Get Started
Learn DSPy
Tutorials
API Reference
DSPy
stanfordnlp/dspy
Get Started
Learn DSPy
Learn DSPy
DSPy Programming
DSPy Programming
Programming Overview
Language Models
Signatures
Modules
DSPy Evaluation
DSPy Evaluation
Evaluation Overview
Data Handling
Metrics
DSPy Optimization
DSPy Optimization
Optimization Overview
Optimizers
Other References
Other References
Retrieval Clients
Retrieval Clients
Azure
ChromadbRM
ClarifaiRM
ColBERTv2
Custom RM Client
DatabricksRM
FalkordbRM
FaissRM
LancedbRM
MilvusRM
MyScaleRM
Neo4jRM
QdrantRM
RAGatouilleRM
SnowflakeRM
WatsonDiscovery
WeaviateRM
YouRM
Tutorials
Tutorials
Retrieval-Augmented Generation
Agents
Reasoning
Entity Extraction
Classification
Multi-Hop Search
Privacy-Conscious Delegation
Finetuning Agents
Saving and Loading
Deployment
Debugging & Observability
Community
Community
Community Resources
Use Cases
Roadmap
Contributing
FAQ
FAQ
FAQ
Cheatsheet
API Reference
API Reference
Adapters
Adapters
Adapter
ChatAdapter
JSONAdapter
Evaluation
Evaluation
CompleteAndGrounded
Evaluate
SemanticF1
answer_exact_match
answer_passage_match
Models
Models
Embedder
LM
Modules
Modules
ChainOfThought
ChainOfThoughtWithHint
Module
MultiChainComparison
Parallel
Predict
Program
ProgramOfThought
ReAct
Optimizers
Optimizers
BetterTogether
BootstrapFewShot
BootstrapFewShotWithRandomSearch
BootstrapFinetune
BootstrapRS
COPRO
Ensemble
KNN
KNNFewShot
LabeledFewShot
MIPROv2
Primitives
Primitives
Example
Image
Image
Table of contents
Image
Prediction
Tool
Signatures
Signatures
InputField
OutputField
Signature
Tools
Tools
ColBERTv2
Embeddings
PythonInterpreter
Utils
Utils
asyncify
disable_litellm_logging
disable_logging
enable_litellm_logging
enable_logging
inspect_history
load
streamify
Table of contents
Image
dspy.Image
dspy.Image
Bases:
BaseModel
Back to top