Evaluations and data preparation for Copilot Studio agents.
Dialog flow for Copilot Studio agents.
Examples of how to use Braintrust Proxy with Microsoft Semantic Kernel framework. The code demonstrates how to use Braintrust as an API proxy with Semantic Kernel.
Using Braintrust as the AI proxy allows the following benefits:
- Manage LLM endpoints and keys on Braintrust side
- Simplify code by accessing many AI providers through a single API.
- Reduce costs by automatically caching results when possible.
- Increase observability by logging all LLM requests to Braintrust.
This sample requires prerequisites in order to run.
Create and initialize the environment file by running:
echo "BRAINTRUST_API_KEY=sk-your-token" > ./evals/.envAdd the following environment variables to the .env file:
BRAINTRUST_API_KEY=sk-your-token
AZURE_OPENAI_ENDPOINT=https://x.openai.azure.com
AZURE_OPENAI_EMBEDDING_ENDPOINT=https://x.openai.azure.com/
AZURE_OPENAI_API_KEY=x
AZURE_OPENAI_CHAT_DEPLOYMENT_NAME=gpt-4o- Run ./start.sh
- Not able to initialize the kernel with wrapped AsyncAzureOpenAI