Optional
parentRunId: stringOptional
options: { Optional
handlers?: BaseCallbackHandler[]Optional
inheritableOptional
inheritableOptional
inheritableOptional
metadata?: Record<string, unknown>Optional
tags?: string[]Called at the start of a Chain run, with the chain name and inputs and the run ID.
Called at the start of a Chat Model run, with the prompt(s) and the run ID.
Called at the start of an LLM or Chat Model run, with the prompt(s) and the run ID.
Called at the start of a Tool run, with the tool name and input and the run ID.
Static
configureOptional
inheritableHandlers: CallbacksOptional
localHandlers: CallbacksOptional
inheritableTags: string[]Optional
localTags: string[]Optional
inheritableMetadata: Record<string, unknown>Optional
localMetadata: Record<string, unknown>Optional
options: CallbackManagerOptionsStatic
from
Example