Skip to content

Enum: StreamEventKind

Kinds of payloads yielded by dspy.streaming.streamify.

URI: dspy:StreamEventKind

Permissible Values

Value Meaning Description
stream_response None Partial output chunk from a predictor
status_message None Lifecycle / status update from a module
prediction None Final ``dspy

Identifier and Mapping Information

Schema Source

LinkML Source

name: StreamEventKind
description: Kinds of payloads yielded by ``dspy.streaming.streamify``.
from_schema: https://w3id.org/lmodel/dspy
close_mappings:
- mellea:HookTypeEnum
rank: 1000
permissible_values:
  stream_response:
    text: stream_response
    description: Partial output chunk from a predictor.
  status_message:
    text: status_message
    description: Lifecycle / status update from a module.
  prediction:
    text: prediction
    description: Final ``dspy.Prediction`` produced by the program.