Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to "final" semantic-memory package #546

Merged
merged 2 commits into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion memorypipeline/CopilotChatMemoryPipeline.csproj
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />
<PackageReference Include="Microsoft.SemanticKernel" Version="0.24.230918.1-preview" />
<PackageReference Include="Microsoft.SemanticMemory.Core" Version="0.2.230919.2-preview" />
<PackageReference Include="Microsoft.SemanticMemory.Core" Version="0.4.231023.1-preview" />
</ItemGroup>

</Project>
10 changes: 5 additions & 5 deletions memorypipeline/appsettings.json
Original file line number Diff line number Diff line change
@@ -57,23 +57,23 @@
// - Directory is the location where files are stored.
//
"SimpleFileStorage": {
"Directory": "../webapi/tmp-cache"
"Directory": "../tmp/cache"
crickman marked this conversation as resolved.
Show resolved Hide resolved
},
//
// 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
2 changes: 1 addition & 1 deletion shared/CopilotChatShared.csproj
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SemanticMemory.Core" Version="0.2.230919.2-preview" />
<PackageReference Include="Microsoft.SemanticMemory.Core" Version="0.4.231023.1-preview" />
<PackageReference Include="Tesseract" Version="5.2.0" />
</ItemGroup>

2 changes: 1 addition & 1 deletion webapi/CopilotChatWebApi.csproj
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@
<PackageReference Include="Microsoft.SemanticKernel.Skills.MsGraph" Version="0.24.230918.1-preview" />
<PackageReference Include="Microsoft.SemanticKernel.Skills.OpenAPI" Version="0.24.230918.1-preview" />
<PackageReference Include="Microsoft.SemanticKernel.Skills.Web" Version="0.24.230918.1-preview" />
<PackageReference Include="Microsoft.SemanticMemory.Core" Version="0.2.230919.2-preview" />
<PackageReference Include="Microsoft.SemanticMemory.Core" Version="0.4.231023.1-preview" />
<PackageReference Include="SharpToken" Version="1.2.12" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
</ItemGroup>
1 change: 1 addition & 0 deletions webapi/Extensions/ISemanticMemoryClientExtensions.cs
Original file line number Diff line number Diff line change
@@ -98,6 +98,7 @@ await memoryClient.SearchAsync(
query,
indexName,
filter,
null,
resultCount,
cancellationToken);

10 changes: 5 additions & 5 deletions webapi/appsettings.json
Original file line number Diff line number Diff line change
@@ -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