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

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

    Copy
    StandardStreamEvent()

    Bases

    BaseStreamEvent

    Attributes

    attribute
    data: EventData

    Event data.

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

    attribute
    name: str

    The name of the Runnable that generated the event.

    Inherited fromBaseStreamEvent

    Attributes

    Aevent: str
    —

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

    Arun_id: UUID
    —

    A unique identifier for the model or chain run.

    Atags: list[str] | None
    —

    Optional list of tags associated with the retriever.

    Ametadata: dict[str, Any] | None
    —

    Optional metadata associated with the retriever.

    Aparent_ids: Sequence[str]
    —

    A list of the parent IDs associated with this event.

    View source on GitHub