opentelemetry-instrumentation-haystack-0.9.4


توضیحات

OpenTelemetry Haystack instrumentation
ویژگی مقدار
سیستم عامل -
نام فایل opentelemetry-instrumentation-haystack-0.9.4
نام opentelemetry-instrumentation-haystack
نسخه کتابخانه 0.9.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Gal Kleinman <gal@traceloop.com>, Nir Gazit <nir@traceloop.com>, Tomer Friedman <tomer@traceloop.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/opentelemetry-instrumentation-haystack/
مجوز -
# OpenTelemetry Haystack Instrumentation <a href="https://pypi.org/project/opentelemetry-instrumentation-haystack/"> <img src="https://badge.fury.io/py/opentelemetry-instrumentation-haystack.svg"> </a> This library allows tracing complete LLM applications built with [Haystack](https://github.com/deepset-ai/haystack). ## Installation ```bash pip install opentelemetry-instrumentation-haystack ``` ## Example usage ```python from opentelemetry.instrumentation.haystack import HaystackInstrumentor HaystackInstrumentor().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 haystack-ai;


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

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


نحوه نصب


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

    pip install opentelemetry-instrumentation-haystack-0.9.4.whl


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

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