Class: StatusMessage
Status update emitted while a module runs (dspy.streaming.StatusMessage).
URI: dspy:StatusMessage
classDiagram
class StatusMessage
click StatusMessage href "../StatusMessage/"
StreamEvent <|-- StatusMessage
click StreamEvent href "../StreamEvent/"
StatusMessage : status
StatusMessage : stream_event_kind
Inheritance
- StreamEvent
- StatusMessage
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| status | 0..1 String |
direct | |
| stream_event_kind | 1 String |
Kind of stream event (matches a StreamEventKind value) |
StreamEvent |
In Subsets
Identifier and Mapping Information
Annotations
| property | value |
|---|---|
| dspy_source_paths | ['dspy/streaming/messages.py'] |
| dspy_source_urls | ['https://github.com/stanfordnlp/dspy/blob/main/dspy/streaming/messages.py'] |
Schema Source
- from schema: https://w3id.org/lmodel/dspy
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | dspy:StatusMessage |
| native | dspy:StatusMessage |
LinkML Source
Direct
name: StatusMessage
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/streaming/messages.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/streaming/messages.py
description: Status update emitted while a module runs (``dspy.streaming.StatusMessage``).
in_subset:
- streaming
from_schema: https://w3id.org/lmodel/dspy
is_a: StreamEvent
slots:
- status
slot_usage:
stream_event_kind:
name: stream_event_kind
ifabsent: string(status_message)
equals_string: status_message
Induced
name: StatusMessage
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/streaming/messages.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/streaming/messages.py
description: Status update emitted while a module runs (``dspy.streaming.StatusMessage``).
in_subset:
- streaming
from_schema: https://w3id.org/lmodel/dspy
is_a: StreamEvent
slot_usage:
stream_event_kind:
name: stream_event_kind
ifabsent: string(status_message)
equals_string: status_message
attributes:
status:
name: status
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: StatusMessage
domain_of:
- StatusMessage
range: string
stream_event_kind:
name: stream_event_kind
description: Kind of stream event (matches a ``StreamEventKind`` value).
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
ifabsent: string(status_message)
owner: StatusMessage
domain_of:
- StreamEvent
range: string
required: true
equals_string: status_message