Skip to content

Slot: metadata

Opaque key/value metadata passed alongside an object.

URI: dspy:metadata

Applicable Classes

Name Description Modifies Slot
ToolResult A tool execution result returned to the model (``dspy no
Citation A single citation entry (``dspy no
LMPart Abstract base for a single content item carried by an LM message or output no
LMMessage Role-attributed sequence of LM parts (``dspy no
LMToolSpec Provider-independent tool schema attached to an LMRequest no
LMRequest Normalized request handed to a BaseLM (``dspy no
LMUsage Token and timing usage for one LM request (``dspy no
LMOutput One generated candidate inside an LMResponse no
LMResponse Normalized result of one LM request (``dspy no
LMSourcePart LM part whose content comes from exactly one of data, url, file_id, or path no
LMTextPart Plain text part of an LM message or output no
LMImagePart Image content part no
LMAudioPart Audio content part no
LMVideoPart Video content part no
LMDocumentPart Semantic source/document content, optionally citation-enabled no
LMBinaryPart Opaque binary content part no
LMToolCallPart Model-issued request to call a tool (LMToolCallPart) no
LMToolResultPart Tool execution result returned to a model (LMToolResultPart) no
LMThinkingPart Reasoning / thinking trace returned by a model no
LMCitationPart Citation returned by a model no
LMRefusalPart Model refusal part no

Properties

Type and Range

Property Value
Range Any
Domain Of ToolResult, Citation, LMPart, LMMessage, LMToolSpec, LMRequest, LMUsage, LMOutput, LMResponse

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: metadata
description: Opaque key/value metadata passed alongside an object.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- ToolResult
- Citation
- LMPart
- LMMessage
- LMToolSpec
- LMRequest
- LMUsage
- LMOutput
- LMResponse
range: Any