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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.8.2.tar.gz
Algorithm Hash digest
SHA256 5d7d4e8e9442b5e887f0fbb5cdc98c6f75dab3d8695a2a7c121355dd1915c98d
MD5 c4211650d1dd3fe9b92a47110658eece
BLAKE2b-256 57f534dff448af1bdddcea7aaad64dc1bbf706afd6d5191f9452b37bd6cb359e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_cohere-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 87354da2e2a4f5677ef1dc5ea4bcce2a0246d6b674dd4425eaeaa7ffaa053049
MD5 4faff2c62168b87c641b767bfdd1c150
BLAKE2b-256 a394317f8a11500ee9f7e7a2f56ab58c39a88945fa595f52b3c129c3212d3af3

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