Skip to content

Latest commit

 

History

History
 
 

04-DynamicRag

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Dynamic RAG chat

This sample demonstrates how to create a chat bot that performs dynamic RAG using planners with V1 of Semantic Kernel.

Prerequisites

Configuring the sample

Configure an Azure OpenAI endpoint

cd ./dotnet/samples/04-DynamicRag

dotnet user-secrets set "AzureOpenAI:DeploymentType" "chat-completion"
dotnet user-secrets set "AzureOpenAI:ChatCompletionDeploymentName" "gpt-35-turbo"
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 ..."

Running the sample

cd ./dotnet/samples/04-DynamicRag

dotnet run