⚠️ Deprecated ⚠️

Please use LunaryHandler instead:

This feature is deprecated and will be removed in the future.

It is not recommended for use.

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

Hierarchy

  • BaseCallbackHandler
    • LLMonitorHandler

Implements

Constructors

Properties

monitor: LLMonitor
name: string = "llmonitor_handler"

Methods

  • Parameters

    • chain: Serialized
    • inputs: ChainValues
    • runId: string
    • Optional parentRunId: string
    • Optional tags: string[]
    • Optional metadata: KVMap

    Returns Promise<void>

  • Parameters

    • llm: Serialized
    • messages: BaseMessage[][]
    • runId: string
    • Optional parentRunId: string
    • Optional extraParams: KVMap
    • Optional tags: string[]
    • Optional metadata: KVMap

    Returns Promise<void>

  • Parameters

    • llm: Serialized
    • prompts: string[]
    • runId: string
    • Optional parentRunId: string
    • Optional extraParams: KVMap
    • Optional tags: string[]
    • Optional metadata: KVMap

    Returns Promise<void>

  • Parameters

    • tool: Serialized
    • input: string
    • runId: string
    • Optional parentRunId: string
    • Optional tags: string[]
    • Optional metadata: KVMap

    Returns Promise<void>

Generated using TypeDoc