Optional
_parentRunId: stringReadonly
handlersReadonly
runProtected
Readonly
inheritableProtected
Readonly
inheritableProtected
Readonly
inheritableProtected
Readonly
metadataProtected
Readonly
tagsCalled at the end of an LLM/ChatModel run, with the output and the run ID.
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.