Optional
aggregator?: undefined | (args: any[]) => anyOptional
argsConfigPath?: undefined | [number] | [number, string]Optional
attachments?: undefined | AttachmentsOptional
child_execution_order?: undefined | numberOptional
child_runs?: undefined | RunTree[]Optional
client?: undefined | ClientOptional
dotted_order?: undefined | stringOptional
end_time?: undefined | numberOptional
error?: undefined | stringOptional
execution_order?: undefined | numberOptional
extra?: undefined | KVMapOptional
extractAttachments?: undefined | (...args: Parameters<Func>) => [undefined | Attachments, KVMap]Optional
getInvocationParams?: 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.
Optional
id?: undefined | stringOptional
metadata?: undefined | KVMapOptional
on_end?: undefined | (runTree: RunTree) => voidOptional
parent_run?: undefined | RunTreeOptional
parent_run_id?: undefined | stringOptional
processInputs?: 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.
Optional
processOutputs?: undefined | (outputs: Readonly<KVMap>) => KVMapApply transformations to the outputs before logging.
This function should NOT mutate the outputs.
processOutputs
is not inherited by nested traceable functions.
Optional
project_name?: undefined | stringOptional
reference_example_id?: undefined | stringOptional
replicas?: undefined | [string, undefined | KVMap][]Optional
run_type?: undefined | stringOptional
serialized?: undefined | objectOptional
start_time?: undefined | numberOptional
tags?: undefined | string[]Optional
trace_id?: undefined | stringOptional
tracer?: undefined | OTELTracerOptional
tracingEnabled?: undefined | boolean
Extract attachments from args and return remaining args.