opentelemetry-instrumentation-replicate-0.9.4


توضیحات

OpenTelemetry Replicate instrumentation
ویژگی مقدار
سیستم عامل -
نام فایل opentelemetry-instrumentation-replicate-0.9.4
نام opentelemetry-instrumentation-replicate
نسخه کتابخانه 0.9.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Kartik Prajapati <kartik@ktklab.org>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/opentelemetry-instrumentation-replicate/
مجوز -
# OpenTelemetry Replicate Instrumentation <a href="https://pypi.org/project/opentelemetry-instrumentation-replicate/"> <img src="https://badge.fury.io/py/opentelemetry-instrumentation-replicate.svg"> </a> This library allows tracing Replicate prompts and image generation sent with the official [replicate library](https://github.com/replicate/replicate-python). ## Installation ```bash pip install opentelemetry-instrumentation-replicate ``` ## Example usage ```python from opentelemetry.instrumentation.replicate import ReplicateInstrumentor ReplicateInstrumentor().instrument() ``` ## 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`. ```bash TRACELOOP_TRACE_CONTENT=false ```


نیازمندی

مقدار نام
- opentelemetry-api<2,>=1.38.0
- opentelemetry-instrumentation>=0.59b0
- opentelemetry-semantic-conventions-ai<0.6.0,>=0.5.1
- opentelemetry-semantic-conventions>=0.59b0
xtr replicate;


زبان مورد نیاز

مقدار نام
<4,>=3.10 Python


نحوه نصب


نصب پکیج whl opentelemetry-instrumentation-replicate-0.9.4:

    pip install opentelemetry-instrumentation-replicate-0.9.4.whl


نصب پکیج tar.gz opentelemetry-instrumentation-replicate-0.9.4:

    pip install opentelemetry-instrumentation-replicate-0.9.4.tar.gz