In this Repo, we explore various AI Samples to learn to be successful with AI in C# and Semantic Kernel
Most of these Samples rely on an Azure OpenAI Resource with the following to be set up with .NET User Secrets in the Shared Project (in the following format)
secrets.json
{
"Endpoint": "todo", //URL of your Azure OpenAI Service
"Key": "todo", //Key of your Azure OpenAI Service
"ChatDeploymentName": "todo", //DeploymentName of your Azure OpenAI Chat-model (example: "gpt-4o-mini")
"EmbeddingModelName": "todo", //[Optional] Embedding Model for RAG (example: "text-embedding-ada-002")
"AzureAiFoundryAgentEndpoint" : "todo", //[Optional] Endpoint for the Azure AI Foundry Agents (if you wish to test those demos)
"AzureAiFoundryAgentId" : "todo", //[Optional] ID of your agent for the Azure AI Foundry Agents (if you wish to test those demos)
"BingApiKey" : "todo" //[OPTIONAL] If you wish to use BingSearch in AI Agents
}
- See https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets on how to work with user-secrets
- See the how-to guides on how to create your Azure Resources
- Hello World
- Structured Output
- Model Context Protocol
- Function Calling
- RAG
- Azure AI Foundry Agents
- Non Azure OpenAI options
- Non Semantic Kernel options
- General
- For RAG
For more AI Tutorials and videos, please see my YouTube Channel