Manages callbacks for retriever runs.

Hierarchy

  • BaseRunManager
    • CallbackManagerForRetrieverRun

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 CallbackManagerForRetrieverRun

Properties

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

Methods

  • Parameters

    • documents: Document<Record<string, any>>[]

    Returns Promise<void>

  • Parameters

    • err: unknown

    Returns Promise<void>

  • Parameters

    • text: string

    Returns Promise<void>

Generated using TypeDoc