Optionalcallbacks?: undefined | CallbacksOptionalmaxMaximum number of parallel calls to make.
Optionalmetadata?: undefined | Record<string, unknown>Metadata for this call and any sub-calls (eg. a Chain calling an LLM). Keys should be strings, values should be JSON-serializable.
OptionalrecursionMaximum number of times a call can recurse. If not provided, defaults to 25.
OptionalrunUnique identifier for the tracer run for this call. If not provided, a new UUID will be generated.
OptionalrunName for the tracer run for this call. Defaults to the name of the class.
Optionalsignal?: undefined | AbortSignalAbort signal for this call. If provided, the call will be aborted when the signal is aborted.
Optionaltags?: undefined | string[]Tags for this call and any sub-calls (eg. a Chain calling an LLM). You can use these to filter calls.
Optionaltimeout?: undefined | numberTimeout for this call in milliseconds.
Optionaltool
Callbacks for this call and any sub-calls (eg. a Chain calling an LLM). Tags are passed to all callbacks, metadata is passed to handle*Start callbacks.