Semantic Kernel
Prerequisites
Installation
pip install interactiveai openlit semantic-kernelConfiguration
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 provider credentials
os.environ["OPENAI_API_KEY"] = "sk-proj-..."
os.environ["OPENAI_CHAT_MODEL_ID"] = "gpt-4o"Enabling Trace Capture
Building a Semantic Kernel Application
Running the Application
Enriching Traces with Context
Trace Visibility
Last updated
Was this helpful?

