Optionalaggregator?: undefined | (args: any[]) => anyOptionalargsConfigPath?: undefined | [number] | [number, string]Optionalattachments?: undefined | AttachmentsOptionalchild_execution_order?: undefined | numberOptionalchild_runs?: undefined | RunTree[]Optionalclient?: undefined | ClientOptionaldotted_order?: undefined | stringOptionalend_time?: undefined | string | numberOptionalerror?: undefined | stringOptionalexecution_order?: undefined | numberOptionalextra?: undefined | KVMapOptionalextractAttachments?: undefined | (...args: Parameters<Func>) => [undefined | Attachments, KVMap]OptionalgetInvocationParams?: undefined | (...args: Parameters<Func>) => undefined | InvocationParamsSchemaExtract invocation parameters from the arguments of the traced function. This is useful for LangSmith to properly track common metadata like provider, model name and temperature.
Optionalid?: undefined | stringOptionalmetadata?: undefined | KVMapOptionalon_end?: undefined | (runTree: RunTree) => voidOptionalparent_run?: undefined | RunTreeOptionalparent_run_id?: undefined | stringOptionalprocessInputs?: undefined | (inputs: Readonly<KVMap>) => KVMapApply transformations to the inputs before logging.
This function should NOT mutate the inputs.
processInputs is not inherited by nested traceable functions.
OptionalprocessOutputs?: undefined | (outputs: Readonly<KVMap>) => KVMap | Promise<KVMap>Apply transformations to the outputs before logging.
This function should NOT mutate the outputs.
processOutputs is not inherited by nested traceable functions.
Optionalproject_name?: undefined | stringOptionalreference_example_id?: undefined | stringOptionalreplicas?: undefined | Replica[]Optionalrun_type?: undefined | stringOptionalserialized?: undefined | objectOptionalstart_time?: undefined | string | numberOptionaltags?: undefined | string[]Optionaltrace_id?: undefined | stringOptionaltracer?: undefined | OTELTracerOptionaltracingEnabled?: undefined | boolean
Extract attachments from args and return remaining args.