Class: Reasoning
Native model reasoning content surfaced to the user (dspy.Reasoning).
URI: dspy:Reasoning
classDiagram
class Reasoning
click Reasoning href "../Reasoning/"
Type <|-- Reasoning
click Type href "../Type/"
Reasoning : description
Reasoning : id
Reasoning : name
Reasoning : redacted
Reasoning : text
Inheritance
- NamedThing
- Type
- Reasoning
- Type
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| text | 0..1 String |
Plain-text payload | direct |
| redacted | 0..1 Boolean |
Whether the content has been redacted | direct |
| id | 1 Identifier |
Stable opaque identifier for an instance | NamedThing |
| name | 0..1 String |
Short human-readable name | NamedThing |
| description | 0..1 String |
Free-form description | NamedThing |
In Subsets
Identifier and Mapping Information
Annotations
| property | value |
|---|---|
| dspy_source_paths | ['dspy/adapters/types/reasoning.py'] |
| dspy_source_urls | ['https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/reasoning.py'] |
Schema Source
- from schema: https://w3id.org/lmodel/dspy
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | dspy:Reasoning |
| native | dspy:Reasoning |
| close | ai:ReasoningTechnique |
LinkML Source
Direct
name: Reasoning
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/adapters/types/reasoning.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/reasoning.py
description: Native model reasoning content surfaced to the user (``dspy.Reasoning``).
in_subset:
- custom_types
from_schema: https://w3id.org/lmodel/dspy
close_mappings:
- ai:ReasoningTechnique
is_a: Type
slots:
- text
- redacted
Induced
name: Reasoning
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/adapters/types/reasoning.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/reasoning.py
description: Native model reasoning content surfaced to the user (``dspy.Reasoning``).
in_subset:
- custom_types
from_schema: https://w3id.org/lmodel/dspy
close_mappings:
- ai:ReasoningTechnique
is_a: Type
attributes:
text:
name: text
description: Plain-text payload.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: Reasoning
domain_of:
- Reasoning
- Citation
- LMTextPart
- LMThinkingPart
- LMCitationPart
- LMRefusalPart
range: string
redacted:
name: redacted
description: Whether the content has been redacted.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: Reasoning
domain_of:
- Reasoning
- LMThinkingPart
range: boolean
id:
name: id
description: Stable opaque identifier for an instance.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
slot_uri: schema:identifier
identifier: true
owner: Reasoning
domain_of:
- NamedThing
range: Identifier
required: true
name:
name: name
description: Short human-readable name.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
slot_uri: rdfs:label
owner: Reasoning
domain_of:
- NamedThing
- LMToolCallPart
- LMMessage
- LMToolSpec
range: string
description:
name: description
description: Free-form description.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
slot_uri: dct:description
owner: Reasoning
domain_of:
- NamedThing
- LMToolSpec
range: string