Skip to main content

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

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.12.1.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.12.1.tar.gz
Algorithm Hash digest
SHA256 c7a55df0286190cd1f86c3068f47aa8b82c8268ca0d2f1d671e4654f6a8b92b5
MD5 c45ad2613e0c9ee33969bcfd9463944d
BLAKE2b-256 e2e81788831245f8158da28d07edd6cc4542f8ef2083f4d5c8dd65e5f9c003d4

See more details on using hashes here.

File details

Details for the file opentelemetry_instrumentation_cohere-0.12.1-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee90f582de03390bb88d54810af923c4064b1312499c687ddef94336f4a57998
MD5 6194b76938ed2dccee0de0e3eb435b1a
BLAKE2b-256 2958c834ac826fbc2f4d89bcae624ebc795066c0babf4a3cab936cbfd7f78982

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page