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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.6.0.tar.gz
Algorithm Hash digest
SHA256 877ec1e9d1717fd32244002ce1fe6fab82ac7a9b7025fed4aee42fb7b2bd7f72
MD5 ff80c18b070186de104b2e849f91ff99
BLAKE2b-256 126248dd43b62967f40b311a8d3c9e3317cdd603f0798e451111a1fefb4eb0c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dff2801f773da310c872d2a5a4ab2f182b7235b6c2b5f5c890a6516decea61f2
MD5 44da1709a83f989d66dd527c229dea3d
BLAKE2b-256 c22d42bf34bc87a8917c67fac5230f24dcbd7bf77b6864c996ea1b22b47e9904

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