Optional
_parentRunId: stringProtected
Optional
Readonly
_Readonly
handlersProtected
Readonly
inheritableProtected
Readonly
inheritableProtected
Readonly
inheritableProtected
Readonly
metadataReadonly
runProtected
Readonly
tagsCalled at the end of an LLM/ChatModel run, with the output and the run ID.
Optional
_runId: stringOptional
_parentRunId: stringOptional
_tags: string[]Optional
extraParams: Record<string, unknown>Called if an LLM/ChatModel run encounters an error
Optional
_runId: stringOptional
_parentRunId: stringOptional
_tags: string[]Optional
extraParams: Record<string, unknown>Called when an LLM/ChatModel in streaming
mode produces a new token
Optional
idx: NewTokenIndicesOptional
_runId: stringOptional
_parentRunId: stringOptional
_tags: string[]Optional
fields: HandleLLMNewTokenCallbackFields
Base class for run manager in LangChain.