Optional
_parentRunId: stringReadonly
handlersReadonly
runProtected
Readonly
inheritableProtected
Readonly
inheritableProtected
Readonly
inheritableProtected
Readonly
metadataProtected
Readonly
tagsCalled when an LLM/ChatModel in streaming
mode produces a new token
Optional
idx: NewTokenIndicesOptional
_runId: stringOptional
_parentRunId: stringOptional
_tags: string[]Optional
fields: HandleLLMNewTokenCallbackFields
Called at the end of an LLM/ChatModel run, with the output and the run ID.