Home / Class/ StandardStreamEvent Class — langchain Architecture

StandardStreamEvent Class — langchain Architecture

Architecture documentation for the StandardStreamEvent class in schema.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  97a2bdc8_b1cf_3d1a_50d5_38597ddf40ca["StandardStreamEvent"]
  c60b06a0_9f02_2896_e0fd_9bacf9546931["BaseStreamEvent"]
  97a2bdc8_b1cf_3d1a_50d5_38597ddf40ca -->|extends| c60b06a0_9f02_2896_e0fd_9bacf9546931
  8fc54027_af2e_acf9_1479_472ebaa69eb5["schema.py"]
  97a2bdc8_b1cf_3d1a_50d5_38597ddf40ca -->|defined in| 8fc54027_af2e_acf9_1479_472ebaa69eb5

Relationship Graph

Source Code

libs/core/langchain_core/runnables/schema.py lines 164–173

class StandardStreamEvent(BaseStreamEvent):
    """A standard stream event that follows LangChain convention for event data."""

    data: EventData
    """Event data.

    The contents of the event data depend on the event type.
    """
    name: str
    """The name of the `Runnable` that generated the event."""

Extends

Frequently Asked Questions

What is the StandardStreamEvent class?
StandardStreamEvent is a class in the langchain codebase, defined in libs/core/langchain_core/runnables/schema.py.
Where is StandardStreamEvent defined?
StandardStreamEvent is defined in libs/core/langchain_core/runnables/schema.py at line 164.
What does StandardStreamEvent extend?
StandardStreamEvent extends BaseStreamEvent.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free