Optional__finalTracedIteratorKey?: stringOptionalaggregator?: (args: any[]) => anyOptionalargsConfigPath?: [number] | [number, string]OptionalextractAttachments?: (...args: Parameters<Func>) => [Attachments | undefined, KVMap]OptionalgetInvocationParams?: (...args: Parameters<Func>) => InvocationParamsSchema | undefinedExtract 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.
OptionalprocessInputs?: (inputs: Readonly<ProcessInputs<Parameters<Func>>>) => KVMapApply transformations to the inputs before logging.
This function should NOT mutate the inputs.
processInputs is not inherited by nested traceable functions.
The input to this function is determined as follows based on the arguments passed to the wrapped function:
{ input: arg }{ args: [...arguments] }{}OptionalprocessOutputs?: (Apply transformations to the outputs before logging.
This function should NOT mutate the outputs.
processOutputs is not inherited by nested traceable functions.
The input to this function is determined as follows based on the return value of the wrapped function:
{ outputs: returnValue }Optionaltracer?: OTELTracer
Extract attachments from args and return remaining args.