haystack
12 строк · 560.0 Байт
1---
2enhancements:
3- |
4Allow code instrumentation to also trace the input and output of components.
5This is useful for debugging and understanding the behavior of components.
6This behavior is disabled by default and can be enabled with one of the following methods:
7- Set the environment variable `HAYSTACK_CONTENT_TRACING_ENABLED_ENV_VAR` to `true` before importing Haystack.
8- Enable content tracing in the code:
9```python
10from haystack import tracing
11tracing.tracer.is_content_tracing_enabled = True
12```
13