Hierarchy

  • BaseRunManager
    • CallbackManagerForLLMRun

Implements

  • BaseCallbackManagerMethods

Constructors

Properties

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

Methods

  • Called at the end of an LLM/ChatModel run, with the output and the run ID.

    Parameters

    Returns Promise<void>

  • Called if an LLM/ChatModel run encounters an error

    Parameters

    • err: unknown

    Returns Promise<void>

  • Called when an LLM/ChatModel in streaming mode produces a new token

    Parameters

    Returns Promise<void>

  • Parameters

    • text: string

    Returns Promise<void>