Called at the start of a Chat Model run, with the prompt(s) and the run ID.
handleChatModelStart(
llm: Serialized,
messages: BaseMessage<MessageStructure<MessageToolSet>, MessageType>[][],
runId: string,
parentRunId: string,
extraParams: KVMap,
tags: string[],
metadata: KVMap,
name: string
): Promise<Run>| Name | Type | Description |
|---|---|---|
llm* | Serialized | |
messages* | BaseMessage<MessageStructure<MessageToolSet>, MessageType>[][] | |
runId* | string | |
parentRunId | string | |
extraParams | KVMap | |
tags | string[] | |
metadata | KVMap | |
name | string |