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-corecallbacksmanagerAsyncCallbackManagerForRetrieverRun
    Class●Since v0.1

    AsyncCallbackManagerForRetrieverRun

    Copy
    AsyncCallbackManagerForRetrieverRun(
      self,
      *,
      run_id: UUID,
      handlers: list[BaseCallbackHandler],

    Bases

    AsyncParentRunManagerRetrieverManagerMixin

    Methods

    Inherited fromAsyncParentRunManager

    Methods

    Mget_child
    —

    Get a child callback manager.

    Inherited fromAsyncRunManager

    Methods

    Mon_text
    —

    Run when a text is received.

    M
    View source on GitHub
    inheritable_handlers
    :
    list
    [
    BaseCallbackHandler
    ]
    ,
    parent_run_id
    :
    UUID
    |
    None
    =
    None
    ,
    tags
    :
    list
    [
    str
    ]
    |
    None
    =
    None
    ,
    inheritable_tags
    :
    list
    [
    str
    ]
    |
    None
    =
    None
    ,
    metadata
    :
    dict
    [
    str
    ,
    Any
    ]
    |
    None
    =
    None
    ,
    inheritable_metadata
    :
    dict
    [
    str
    ,
    Any
    ]
    |
    None
    =
    None
    )
    on_retry
    —

    Async run when a retry is received.

    Inherited fromBaseRunManager

    Attributes

    Arun_id: run_idAhandlers: handlersAinheritable_handlers: inheritable_handlersAparent_run_id: parent_run_idAtagsAinheritable_tagsAmetadataAinheritable_metadata

    Methods

    Mget_noop_manager
    —

    Return a manager that doesn't perform any operations.

    Inherited fromRunManagerMixin

    Methods

    Mon_text
    —

    Run on an arbitrary text.

    Mon_retry
    —

    Run on a retry event.

    Mon_custom_event
    —

    Override to define a handler for a custom event.

    method
    get_sync

    Get the equivalent sync RunManager.

    method
    on_retriever_end

    Run when the retriever ends running.

    method
    on_retriever_error

    Run when retriever errors.

    Async callback manager for retriever run.