Please use LunaryHandler instead:

import { LunaryHandler } from "@langchain/community/callbacks/handlers/lunary";

Hierarchy (view full)

Implements

Constructors

Properties

monitor: LLMonitor
name: string = "llmonitor_handler"

Methods

  • Parameters

    • llm: Serialized
    • messages: BaseMessage[][]
    • runId: string
    • OptionalparentRunId: string
    • OptionalextraParams: KVMap
    • Optionaltags: string[]
    • Optionalmetadata: KVMap

    Returns Promise<void>

  • Parameters

    • llm: Serialized
    • prompts: string[]
    • runId: string
    • OptionalparentRunId: string
    • OptionalextraParams: KVMap
    • Optionaltags: string[]
    • Optionalmetadata: KVMap

    Returns Promise<void>