Skip to content

Subset: CustomTypes

Rich content types usable in signatures (Image, Audio, Code, Tool...).

URI: CustomTypes

Identifier and Mapping Information

Schema Source

Classes in subset

Class Description
Audio Audio content (``dspy
Citation A single citation entry (``dspy
Code Code content typed by programming language (``dspy
Document Citation-enabled document content (``dspy
File Arbitrary file payload (``dspy
History Conversation history (``dspy
Image Image content usable as an input/output field type (``dspy
Reasoning Native model reasoning content surfaced to the user (``dspy
Tool A function-call tool usable by an LM (``dspy
Type Abstract DSPy custom type (``dspy