OpenTelemetry Langchain instrumentation
Project description
OpenTelemetry Langchain Instrumentation
This library allows tracing complete LLM applications built with Langchain.
Installation
pip install opentelemetry-instrumentation-langchain
Privacy
By default, this instrumentation logs prompts, completions, and embeddings to span attributes. This gives you a clear visibility into how your LLM application is working, and can make it easy to debug and evaluate the quality of the outputs.
However, you may want to disable this logging for privacy reasons, as they may contain highly sensitive data from your users. You may also simply want to reduce the size of your traces.
To disable logging, set the TRACELOOP_TRACE_CONTENT
environment variable to false
.
TRACELOOP_TRACE_CONTENT=false
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for opentelemetry_instrumentation_langchain-0.9.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 576d13b9e693a1519e52522ecb56c7b26f556807ed2a90632bd00af704170990 |
|
MD5 | 163ca22478969b0eb316ebc73c60728a |
|
BLAKE2b-256 | 356ee17aa7f7ee92dd14be9e9a8ee1a3287ecf9536b75f3e35e3a919cf071df2 |
Close
Hashes for opentelemetry_instrumentation_langchain-0.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bba1d728e72528c0e8c874a2cce5bcae278a083a98f3b95e0effac2f01cdaa2f |
|
MD5 | b374adf58671910425bd5f6c0872eccf |
|
BLAKE2b-256 | 95430832a7ec7f94e1fa4ac2a9462bc51bf27282b914be5c96d7524e4d7a1821 |