Haystack
Prerequisites
Installation
pip install haystack-ai interactiveai openinference-instrumentation-haystackConfiguration
import os
# InteractiveAI credentials
# Obtain keys from Settings > API Keys in the dashboard
os.environ["INTERACTIVEAI_PUBLIC_KEY"] = "pk-ia-..."
os.environ["INTERACTIVEAI_SECRET_KEY"] = "sk-ia-..."
os.environ["INTERACTIVEAI_HOST"] = "https://app.interactiveai.com"
# Model and tool provider credentials
os.environ["OPENAI_API_KEY"] = "sk-proj-..."
os.environ["SERPERDEV_API_KEY"] = "..."Enabling Trace Capture
Running a Haystack Application
Enriching Traces with Context
Trace Visibility
Last updated
Was this helpful?

