OpenTelemetry Cohere instrumentation
Project description
OpenTelemetry Cohere Instrumentation
This library allows tracing calls to any of Cohere's endpoints sent with the official Cohere library.
Installation
pip install opentelemetry-instrumentation-cohere
Example usage
from opentelemetry.instrumentation.cohere import CohereInstrumentor
CohereInstrumentor().instrument()
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
File details
Details for the file opentelemetry_instrumentation_cohere-0.33.12.tar.gz
.
File metadata
- Download URL: opentelemetry_instrumentation_cohere-0.33.12.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ea626d096fdf4c64e04a63b437e36f72a4341f818034ee6dc73ba1dba9ab341 |
|
MD5 | 51c277dcf6b167beb44c4a0fb34194e9 |
|
BLAKE2b-256 | fe96f9cfc4f27c20deabfca237cb26734f060525b43e6993f753fad4ee0eded1 |
Provenance
The following attestation bundles were made for opentelemetry_instrumentation_cohere-0.33.12.tar.gz
:
Publisher:
release.yml
on traceloop/openllmetry
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
opentelemetry_instrumentation_cohere-0.33.12.tar.gz
- Subject digest:
4ea626d096fdf4c64e04a63b437e36f72a4341f818034ee6dc73ba1dba9ab341
- Sigstore transparency entry: 148749182
- Sigstore integration time:
- Predicate type:
File details
Details for the file opentelemetry_instrumentation_cohere-0.33.12-py3-none-any.whl
.
File metadata
- Download URL: opentelemetry_instrumentation_cohere-0.33.12-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bee3f7f7105259c85145be8c3b68612421860c95ad170f4d03144a3b8c07418 |
|
MD5 | f567fe432fe8faf9e321b9a069ec008a |
|
BLAKE2b-256 | bf08dce2b7926ace0204ce7946563348e1ff755873e387833484791e4ed391c8 |
Provenance
The following attestation bundles were made for opentelemetry_instrumentation_cohere-0.33.12-py3-none-any.whl
:
Publisher:
release.yml
on traceloop/openllmetry
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
opentelemetry_instrumentation_cohere-0.33.12-py3-none-any.whl
- Subject digest:
3bee3f7f7105259c85145be8c3b68612421860c95ad170f4d03144a3b8c07418
- Sigstore transparency entry: 148749249
- Sigstore integration time:
- Predicate type: