Skip to content

Slot: model_type

Which LiteLLM API contract to use (chat / text / responses).

URI: dspy:model_type

Applicable Classes

Name Description Modifies Slot
BaseLM Abstract base class for DSPy language models (``dspy no
LM Concrete LiteLLM-backed language model (``dspy no

Properties

Type and Range

Property Value
Range ModelType
Domain Of BaseLM

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: model_type
description: Which LiteLLM API contract to use (chat / text / responses).
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- BaseLM
range: ModelType