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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.11.0.tar.gz
Algorithm Hash digest
SHA256 cd44fddc3b48c6c2d4d2b2142f530c52944183a03ac4619f827f30bb0819b776
MD5 40d03598cb7baae9f572c67afdfd97d2
BLAKE2b-256 f22a4a349c8b0e5bae10db253a5094e1f67224de836deecdb865ca7e6305e2f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db97ee908955fe6346c9bf86e532d126e475e16db0a9a6222d1ce5a7a8d7ccc0
MD5 1390982cf1a3ecec3dc11336c98437d6
BLAKE2b-256 490912d11a2061294af3de51d9c7a3ff7920fdf589f382a109a67f00f10b42d7

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