diff --git a/SqlDatabaseVectorSearch/Program.cs b/SqlDatabaseVectorSearch/Program.cs index dc2a595..9dce0fb 100644 --- a/SqlDatabaseVectorSearch/Program.cs +++ b/SqlDatabaseVectorSearch/Program.cs @@ -24,7 +24,8 @@ builder.Services.AddSqlServer(builder.Configuration.GetCon builder.Services.AddMemoryCache(); -// Semantical Kernel is used to reformulate questions taking into account all the previous interactions, so that embeddings can be generate more accurately. +// Semantical Kernel is used to generate embeddings and to reformulate questions taking into account all the previous interactions, +// so that embeddings themselves can be generated more accurately. builder.Services.AddKernel() .AddAzureOpenAITextEmbeddingGeneration(aiSettings.Embedding.Deployment, aiSettings.Embedding.Endpoint, aiSettings.Embedding.ApiKey) .AddAzureOpenAIChatCompletion(aiSettings.ChatCompletion.Deployment, aiSettings.ChatCompletion.Endpoint, aiSettings.ChatCompletion.ApiKey);