Skip to content

Slot: adapter_kind

Concrete adapter implementation (matches an AdapterKind value).

URI: dspy:adapter_kind

Applicable Classes

Name Description Modifies Slot
Adapter Base class for prompt-format adapters (``dspy no
ChatAdapter Markdown-formatted chat adapter (``dspy yes
JSONAdapter Structured-JSON adapter (``dspy yes
XMLAdapter XML output adapter (``dspy yes
BAMLAdapter BAML schema-language adapter (``dspy yes
TwoStepAdapter Two-step plan + finalize adapter (``dspy yes

Properties

Type and Range

Property Value
Range String
Domain Of Adapter

Cardinality and Requirements

Property Value
Required Yes

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: adapter_kind
description: Concrete adapter implementation (matches an ``AdapterKind`` value).
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- Adapter
range: string
required: true