Skip to content

Slot: model

LiteLLM-style provider/model identifier.

URI: dspy:model

Applicable Classes

Name Description Modifies Slot
LMRequest Normalized request handed to a BaseLM (``dspy yes
LMResponse Normalized result of one LM request (``dspy no
BaseLM Abstract base class for DSPy language models (``dspy no
TrainingJob Asynchronous fine-tuning job (``dspy no
LM Concrete LiteLLM-backed language model (``dspy no

Properties

Type and Range

Property Value
Range ModelName
Domain Of LMRequest, LMResponse, BaseLM, TrainingJob

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: model
description: LiteLLM-style ``provider/model`` identifier.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- LMRequest
- LMResponse
- BaseLM
- TrainingJob
range: ModelName