Skip to content

Commit

Permalink
Update ClientLib namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dluc committed Jul 31, 2023
1 parent 40f97ad commit 3e9379a
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions dotnet/ClientLib/ClientLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Microsoft.SemanticMemory.Core20</AssemblyName>
<RootNamespace>Microsoft.SemanticMemory.Core20</RootNamespace>
<AssemblyName>Microsoft.SemanticMemory.Client</AssemblyName>
<RootNamespace>Microsoft.SemanticMemory.Client</RootNamespace>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion dotnet/ClientLib/Constants.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft. All rights reserved.

namespace Microsoft.SemanticMemory.Core20;
namespace Microsoft.SemanticMemory.Client;

public static class Constants
{
Expand Down
2 changes: 1 addition & 1 deletion dotnet/ClientLib/Document.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft. All rights reserved.

namespace Microsoft.SemanticMemory.Core20;
namespace Microsoft.SemanticMemory.Client;

public class Document
{
Expand Down
2 changes: 1 addition & 1 deletion dotnet/ClientLib/DocumentDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System;
using System.Globalization;

namespace Microsoft.SemanticMemory.Core20;
namespace Microsoft.SemanticMemory.Client;

public class DocumentDetails
{
Expand Down
2 changes: 1 addition & 1 deletion dotnet/ClientLib/ISemanticMemoryClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Microsoft.SemanticMemory.Core20;
namespace Microsoft.SemanticMemory.Client;

public interface ISemanticMemoryClient
{
Expand Down
2 changes: 1 addition & 1 deletion dotnet/ClientLib/MemoryWebClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Net.Http;
using System.Threading.Tasks;

namespace Microsoft.SemanticMemory.Core20;
namespace Microsoft.SemanticMemory.Client;

public class MemoryWebClient : ISemanticMemoryClient
{
Expand Down
2 changes: 1 addition & 1 deletion dotnet/ClientLib/SemanticMemoryException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using System;

namespace Microsoft.SemanticMemory.Core20;
namespace Microsoft.SemanticMemory.Client;

/// <summary>
/// Provides the base exception from which all Semantic Kernel exceptions derive.
Expand Down
2 changes: 1 addition & 1 deletion dotnet/ClientLib/SemanticMemoryWebException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using System;

namespace Microsoft.SemanticMemory.Core20;
namespace Microsoft.SemanticMemory.Client;

public class SemanticMemoryWebException : SemanticMemoryException
{
Expand Down
2 changes: 1 addition & 1 deletion dotnet/ClientLib/TagCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Collections.Generic;
using System.Linq;

namespace Microsoft.SemanticMemory.Core20;
namespace Microsoft.SemanticMemory.Client;

// JSON serializable alternative to NameValueCollection
public class TagCollection : IDictionary<string, List<string?>>
Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/Configuration/ConfigurationException.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft. All rights reserved.

using System;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;

namespace Microsoft.SemanticMemory.Core.Configuration;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/Diagnostics/ContentStorageException.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft. All rights reserved.

using System;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;

namespace Microsoft.SemanticMemory.Core.Diagnostics;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/Diagnostics/OrchestrationException.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft. All rights reserved.

using System;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;

namespace Microsoft.SemanticMemory.Core.Diagnostics;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/Diagnostics/PipelineCompletedException.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft. All rights reserved.

using System;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;

namespace Microsoft.SemanticMemory.Core.Diagnostics;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/Handlers/SaveEmbeddingsHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.SemanticMemory.Client;
using Microsoft.SemanticMemory.Core.AppBuilders;
using Microsoft.SemanticMemory.Core.Configuration;
using Microsoft.SemanticMemory.Core.ContentStorage;
using Microsoft.SemanticMemory.Core.Diagnostics;
using Microsoft.SemanticMemory.Core.MemoryStorage;
using Microsoft.SemanticMemory.Core.Pipeline;
using Microsoft.SemanticMemory.Core20;

namespace Microsoft.SemanticMemory.Core.Handlers;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft. All rights reserved.

using System;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;

namespace Microsoft.SemanticMemory.Core.MemoryStorage;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Text.Json;
using System.Text.Json.Serialization;
using Microsoft.SemanticKernel.AI.Embeddings;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;

namespace Microsoft.SemanticMemory.Core.MemoryStorage;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/MemoryStorage/MemoryRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using System.Collections.Generic;
using Microsoft.SemanticKernel.AI.Embeddings;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;

namespace Microsoft.SemanticMemory.Core.MemoryStorage;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/MemoryStorage/VectorDbSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using System.Collections.Generic;
using System.Linq;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;

namespace Microsoft.SemanticMemory.Core.MemoryStorage;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/Pipeline/BaseOrchestrator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.SemanticMemory.Client;
using Microsoft.SemanticMemory.Core.ContentStorage;
using Microsoft.SemanticMemory.Core20;

namespace Microsoft.SemanticMemory.Core.Pipeline;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/Pipeline/DataPipeline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
using System.Linq;
using System.Text.Json.Serialization;
using Microsoft.AspNetCore.Http;
using Microsoft.SemanticMemory.Client;
using Microsoft.SemanticMemory.Core.Diagnostics;
using Microsoft.SemanticMemory.Core20;

namespace Microsoft.SemanticMemory.Core.Pipeline;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/Pipeline/IPipelineOrchestrator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;

namespace Microsoft.SemanticMemory.Core.Pipeline;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/Pipeline/MemoryPipelineClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.SemanticMemory.Client;
using Microsoft.SemanticMemory.Core.AppBuilders;
using Microsoft.SemanticMemory.Core.Configuration;
using Microsoft.SemanticMemory.Core.Diagnostics;
using Microsoft.SemanticMemory.Core.Handlers;
using Microsoft.SemanticMemory.Core20;

namespace Microsoft.SemanticMemory.Core.Pipeline;

Expand Down
2 changes: 1 addition & 1 deletion dotnet/CoreLib/WebService/UploadRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;

namespace Microsoft.SemanticMemory.Core.WebService;

Expand Down
2 changes: 1 addition & 1 deletion samples/dotnet-Serverless/Program.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright (c) Microsoft. All rights reserved.

using Microsoft.SemanticMemory.Client;
using Microsoft.SemanticMemory.Core.Configuration;
using Microsoft.SemanticMemory.Core.Pipeline;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.InteractiveSetup;

// Run `dotnet run setup` to run this code and setup the example
Expand Down
2 changes: 1 addition & 1 deletion samples/dotnet-ServerlessCustomPipeline/Program.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) Microsoft. All rights reserved.

using Microsoft.SemanticMemory.Client;
using Microsoft.SemanticMemory.Core.AppBuilders;
using Microsoft.SemanticMemory.Core.Configuration;
using Microsoft.SemanticMemory.Core.ContentStorage;
using Microsoft.SemanticMemory.Core.Handlers;
using Microsoft.SemanticMemory.Core.Pipeline;
using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.InteractiveSetup;

// Run `dotnet run setup` to run this code and setup the example
Expand Down
2 changes: 1 addition & 1 deletion samples/dotnet-WebClient/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft. All rights reserved.

using Microsoft.SemanticMemory.Core20;
using Microsoft.SemanticMemory.Client;
using Microsoft.SemanticMemory.InteractiveSetup;

// Run `dotnet run setup` to run this code and setup the example
Expand Down

0 comments on commit 3e9379a

Please sign in to comment.