Semantic Kernel Integration via OpenTelemetry
Semantic Kernel is Microsoft’s AI orchestration framework designed to simplify the integration of AI services into applications. It provides a unified programming model for working with different AI models, memory systems, and plugins, making it easier to build intelligent applications.
Semantic Kernel’s primary advantage is its seamless integration with Microsoft’s AI ecosystem and its plugin architecture that allows developers to easily extend functionality with custom skills and connectors.
Getting started
To use the Semantic Kernel integration with Opik, you will need to have Semantic Kernel and the required OpenTelemetry packages installed:
Environment configuration
Configure your environment variables based on your Opik deployment:
Opik Cloud
Enterprise deployment
Self-hosted instance
If you are using Opik Cloud, you will need to set the following environment variables:
To log the traces to a specific project, you can add the
projectName
parameter to the OTEL_EXPORTER_OTLP_HEADERS
environment variable:
You can also update the Comet-Workspace
parameter to a different
value if you would like to log the data to a different workspace.
Using Opik with Semantic Kernel
Set up OpenTelemetry instrumentation for Semantic Kernel:
Further improvements
If you have any questions or suggestions for improving the Semantic Kernel integration, please open an issue on our GitHub repository.