From 10a2e61d9ef8a486d3c1cb8de330459f1b1d889c Mon Sep 17 00:00:00 2001 From: Tao Chen Date: Fri, 11 Aug 2023 12:51:15 -0700 Subject: [PATCH] Fix SemanticMemoryExtensions.cs formatting (#159) ### Motivation and Context ### Description ### Contribution Checklist - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [Contribution Guidelines](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone :smile: --- webapi/Extensions/SemanticMemoryExtensions.cs | 4 ++-- webapi/Extensions/ServiceExtensions.cs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/webapi/Extensions/SemanticMemoryExtensions.cs b/webapi/Extensions/SemanticMemoryExtensions.cs index 6a13c7114..fabdaebd9 100644 --- a/webapi/Extensions/SemanticMemoryExtensions.cs +++ b/webapi/Extensions/SemanticMemoryExtensions.cs @@ -5,6 +5,8 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; +using Microsoft.SemanticKernel.AI.Embeddings; +using Microsoft.SemanticKernel.Connectors.AI.OpenAI.TextEmbedding; using Microsoft.SemanticMemory.Core.AppBuilders; using Microsoft.SemanticMemory.Core.Configuration; using Microsoft.SemanticMemory.Core.ContentStorage.AzureBlobs; @@ -16,8 +18,6 @@ using Microsoft.SemanticMemory.Core.Pipeline.Queue.FileBasedQueues; using Microsoft.SemanticMemory.Core.AI.AzureOpenAI; using Microsoft.SemanticMemory.Core.AI.OpenAI; -using Microsoft.SemanticKernel.Connectors.AI.OpenAI.TextEmbedding; -using Microsoft.SemanticKernel.AI.Embeddings; namespace CopilotChat.WebApi.Extensions; diff --git a/webapi/Extensions/ServiceExtensions.cs b/webapi/Extensions/ServiceExtensions.cs index 57bc30d4c..ddacbd87e 100644 --- a/webapi/Extensions/ServiceExtensions.cs +++ b/webapi/Extensions/ServiceExtensions.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; using System.IO; -using System.Linq; using System.Reflection; using Azure; using CopilotChat.WebApi.Auth;