Skip to content

Slot: finish_reason

Why the model stopped generating this candidate.

URI: dspy:finish_reason

Applicable Classes

Name Description Modifies Slot
LMOutput One generated candidate inside an LMResponse no

Properties

Type and Range

Property Value
Range FinishReason
Domain Of LMOutput

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: finish_reason
description: Why the model stopped generating this candidate.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- LMOutput
range: FinishReason