Create flows using Microsoft Prompt flow and send their traces to the Arize AX platform. Traces are fully OpenTelemetry compatible and can be sent to any OpenTelemetry collector for viewing.
Use this file to discover all available pages before exploring further.
openinference/python/instrumentation/openinference-instrumentation-promptflow/examples/chat_flow_example_to_arize.ipynb at main · Arize-ai/openinference
GitHub
This integration will allow you to trace Microsoft PromptFlow flows and send their traces into Arize AX.
Python
pip install arize-otel promptflow
Import arize_otel and other dependencies required for setup.
Set up OpenTelemetry using our convenience function: register with your Arize AX credentials.
# Setup OTel via our convenience functiontracer_provider = register( space_id = "your-space-id", # in app space settings page api_key = "your-api-key", # in app space settings page project_name = "your-project-name", # name this to whatever you would like)
Then set up the OpenTelemetry endpoint to be Arize AX and use Prompt flow’s setup_exporter_from_environ to start tracing any further flows and LLM calls.