diff --git a/.gitignore b/.gitignore index d658427a8..a06144dcb 100644 --- a/.gitignore +++ b/.gitignore @@ -493,9 +493,7 @@ webapi/CopilotChatWebApi.sln *.traineddata # Semantic Memory local storage -tmp-cache -tmp-database -tmp-queues +tmp/* # Custom plugins in default directories */Skills/NativePlugins diff --git a/memorypipeline/CopilotChatMemoryPipeline.csproj b/memorypipeline/CopilotChatMemoryPipeline.csproj index 317449a8b..3b68a3db6 100644 --- a/memorypipeline/CopilotChatMemoryPipeline.csproj +++ b/memorypipeline/CopilotChatMemoryPipeline.csproj @@ -16,7 +16,7 @@ - + diff --git a/memorypipeline/appsettings.json b/memorypipeline/appsettings.json index 4f14c9ef0..f189cd479 100644 --- a/memorypipeline/appsettings.json +++ b/memorypipeline/appsettings.json @@ -57,23 +57,23 @@ // - Directory is the location where files are stored. // "SimpleFileStorage": { - "Directory": "../webapi/tmp-cache" + "Directory": "../tmp/cache" }, // // File based queue for local/development use. // - Directory is the location where messages are stored. // "SimpleQueues": { - "Directory": "../webapi/tmp-queues" + "Directory": "../tmp/queues" }, // // File based vector database for local/development use. - // - StorageType is the storage configuration: "TextFile" or "Volatile" + // - StorageType is the storage configuration: "Disk" or "Volatile" // - Directory is the location where data is stored. // "SimpleVectorDb": { - "StorageType": "TextFile", - "Directory": "../webapi/tmp-database" + "StorageType": "Disk", + "Directory": "../tmp/database" }, // // Azure blob storage for the memory pipeline diff --git a/shared/CopilotChatShared.csproj b/shared/CopilotChatShared.csproj index e210634fb..55699e9c3 100644 --- a/shared/CopilotChatShared.csproj +++ b/shared/CopilotChatShared.csproj @@ -9,7 +9,7 @@ - + diff --git a/webapi/CopilotChatWebApi.csproj b/webapi/CopilotChatWebApi.csproj index b14b28cdd..f0e375e37 100644 --- a/webapi/CopilotChatWebApi.csproj +++ b/webapi/CopilotChatWebApi.csproj @@ -29,7 +29,7 @@ - + diff --git a/webapi/Extensions/ISemanticMemoryClientExtensions.cs b/webapi/Extensions/ISemanticMemoryClientExtensions.cs index e301497e2..1b7e008d2 100644 --- a/webapi/Extensions/ISemanticMemoryClientExtensions.cs +++ b/webapi/Extensions/ISemanticMemoryClientExtensions.cs @@ -98,6 +98,7 @@ await memoryClient.SearchAsync( query, indexName, filter, + null, resultCount, cancellationToken); diff --git a/webapi/appsettings.json b/webapi/appsettings.json index 578a51405..416e4b409 100644 --- a/webapi/appsettings.json +++ b/webapi/appsettings.json @@ -252,23 +252,23 @@ // - Directory is the location where files are stored. // "SimpleFileStorage": { - "Directory": "./tmp-cache" + "Directory": "../tmp/cache" }, // // File based queue for local/development use. // - Directory is the location where messages are stored. // "SimpleQueues": { - "Directory": "./tmp-queues" + "Directory": "../tmp/queues" }, // // File based vector database for local/development use. - // - StorageType is the storage configuration: "TextFile" or "Volatile" + // - StorageType is the storage configuration: "Disk" or "Volatile" // - Directory is the location where data is stored. // "SimpleVectorDb": { - "StorageType": "TextFile", - "Directory": "./tmp-database" + "StorageType": "Disk", + "Directory": "../tmp/database" }, // // Azure blob storage for the memory pipeline