Create and add a run to the run map for retriever start events. This must sometimes be done synchronously to avoid race conditions when callbacks are backgrounded, so we expose it as a separate method here.
_createRunForRetrieverStart(
retriever: Serialized,
query: string,
runId: string,
parentRunId: string,
tags: string[],
metadata: KVMap,
name: string
): __type| Name | Type | Description |
|---|---|---|
retriever* | Serialized | |
query* | string | |
runId* | string | |
parentRunId | string | |
tags | string[] | |
metadata | KVMap | |
name | string |