This sample demonstrates how to create a chat bot that performs basic RAG with V1 of Semantic Kernel.
- .NET 6 is required to run this sample.
- Install the recommended extensions
- C#
- Semantic Kernel Tools (optional)
Configure an Azure OpenAI endpoint
cd ./dotnet/samples/03-SimpleRag
dotnet user-secrets set "AzureOpenAI:Gpt35TurboDeploymentName" "gpt-35-turbo"
dotnet user-secrets set "AzureOpenAI:Gpt4DeploymentName" "gpt-4"
dotnet user-secrets set "AzureOpenAI:Endpoint" "... your Azure OpenAI endpoint ..."
dotnet user-secrets set "AzureOpenAI:ApiKey" "... your Azure OpenAI key ..."
dotnet user-secrets set ""Bing:ApiKey" "... your Bing key ..."
cd ./dotnet/samples/03-SimpleRag
dotnet run