BigHugger
sk Skill · lebsral

dspy-signatures

Defines typed input/output contracts for LM calls using dspy.Signature, dspy.InputField, and dspy.OutputField. Use when you need to define the input/output contract for an LM call — choosing between inline and class-based signatures, adding type constraints, or using Pydantic models for structured outputs. Common scenarios — defining input and output fields for an LM call, adding type constraints to outputs, using…

installs 8w
0
30-day movement
starts with the next reading
Related entries
1
Connections
0
pythonPython
Host repository
lebsral/DSPy-Programming-not-prompting-LMs-skills
Host stars
11
Host language
Python