TRACELOOP_TRACE_CONTENT
environment variable to false
.
On Typescript/Javascript you can also pass the traceContent
option.
traceContent
option, the global setting will be used.
override_enable_content_tracing
in the OpenTelemetry context to True
right before making the LLM call
you want to trace with prompts.
This will create a new context that will instruct instrumentations to log prompts and completions as span attributes.