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

This version

0.8.0

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.8.0.tar.gz
Algorithm Hash digest
SHA256 729b6a1a772431b9892b7ba81d5bd5194c3fb5f1dad917008842cd8f69b47dfa
MD5 dcd76f65beb944055bbc969a79f385bc
BLAKE2b-256 aa9877ffe6934f67eb83d54e5347ed223b9e2ea11ef0cc05def7d73d4a3243d8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c30721a6c6b407a781ad28c57ac8e6ef9c26da2b9692f37197263339487f398b
MD5 046fabf1d1237f97da5d1243927b0df4
BLAKE2b-256 65976d9d4810b3be404da578a4a602883869ebdab9f8569934bd85f5f72f2f68

See more details on using hashes here.

Provenance

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