Microsoft Agent Framework
Prerequisites
Installation
pip install agent-framework interactiveaiConfiguration
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"
# Azure OpenAI credentials
os.environ["AZURE_OPENAI_API_KEY"] = "your-azure-openai-key"
os.environ["AZURE_OPENAI_ENDPOINT"] = "https://your-resource.openai.azure.com/"
os.environ["AZURE_OPENAI_CHAT_DEPLOYMENT_NAME"] = "gpt-4o-mini"
os.environ["OPENAI_CHAT_MODEL_ID"] = "gpt-4o-mini"Enabling Trace Capture
Running an Agent with Azure OpenAI
Running an Agent with OpenAI
Enriching Traces with Context
Trace Visibility
Last updated
Was this helpful?

