Base class for run manager in LangChain.

Hierarchy (view full)

Implements

  • BaseCallbackManagerMethods

Constructors

Properties

runId: string
inheritableHandlers: BaseCallbackHandler[]
inheritableMetadata: Record<string, unknown>
inheritableTags: string[]
metadata: Record<string, unknown>
tags: string[]

Accessors

Methods

  • Parameters

    • eventName: string
    • data: any
    • Optional_runId: string
    • Optional_tags: string[]
    • Optional_metadata: Record<string, any>

    Returns Promise<void>

  • Called at the end of a Tool run, with the tool output and the run ID.

    Parameters

    • output: any

    Returns Promise<void>

  • Called if a Tool run encounters an error

    Parameters

    • err: unknown

    Returns Promise<void>

""