Class CallbackManagerForLLMRun

Hierarchy

  • BaseRunManager
    • CallbackManagerForLLMRun

Implements

  • BaseCallbackManagerMethods

Constructors

  • Parameters

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

    Returns CallbackManagerForLLMRun

Properties

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

Methods

  • Parameters

    Returns Promise<void>

  • Parameters

    • err: unknown

    Returns Promise<void>

  • Parameters

    • token: string
    • Optional idx: NewTokenIndices
    • Optional _runId: string
    • Optional _parentRunId: string
    • Optional _tags: string[]
    • Optional fields: HandleLLMNewTokenCallbackFields

    Returns Promise<void>

  • Parameters

    • text: string

    Returns Promise<void>

Generated using TypeDoc