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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.9.4.tar.gz
Algorithm Hash digest
SHA256 6ba86b491a2fc08d33ec1eec905aac1e1e31390607a4311c60c1f0fd74714333
MD5 371c5bc2250971e555381c36a066e91e
BLAKE2b-256 05afd461353ca47c62030dc489b431b6f46390b9f574cc113c95cd38f6a9a6c1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 472c36afe4a4b113eae9f374e86aa0f01f9db5a397de2fa690ab7a144e56af0f
MD5 fcfff9873b4fc0c0b072f14063f6691e
BLAKE2b-256 a405f945266cf07c52ae4267a77f6d16ae58cf6fb3a031ebf677189c355ac239

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