LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Caches
    • Callbacks
    • Documents
    • Document loaders
    • Embeddings
    • Exceptions
    • Language models
    • Serialization
    • Output parsers
    • Prompts
    • Rate limiters
    • Retrievers
    • Runnables
    • Utilities
    • Vector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewCachesCallbacksDocumentsDocument loadersEmbeddingsExceptionsLanguage modelsSerializationOutput parsersPromptsRate limitersRetrieversRunnablesUtilitiesVector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-corerunnablesschemaStandardStreamEvent
    Class●Since v0.2

    StandardStreamEvent

    Copy
    StandardStreamEvent()

    Bases

    BaseStreamEvent

    Attributes

    Inherited fromBaseStreamEvent

    Attributes

    Aevent: str
    —

    Event names are of the format: on_[runnable_type]_(start|stream|end).

    Arun_id: str
    —

    An randomly generated ID to keep track of the execution of the given Runnable.

    Atags: NotRequired[list[str]]
    —

    Tags associated with the Runnable that generated this event.

    View source on GitHub
    A
    metadata
    : NotRequired[dict[str, Any]]
    —

    Metadata associated with the Runnable that generated this event.

    Aparent_ids: Sequence[str]
    —

    A list of the parent IDs associated with this event.

    attribute
    data: EventData
    attribute
    name: str

    A standard stream event that follows LangChain convention for event data.

    Event data.

    The contents of the event data depend on the event type.

    The name of the Runnable that generated the event.