Skip to content

Commit 6dc518b

Browse files
committed
Fix Upsert compile issue.
1 parent e7a7211 commit 6dc518b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugins/BotSharp.Plugin.SemanticKernel/SemanticKernelMemoryStoreProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public async Task<List<string>> Search(string collectionName, float[] vector, in
4848

4949
}
5050

51-
public async Task Upsert(string collectionName, int id, float[] vector, string text)
51+
public async Task Upsert(string collectionName, string id, float[] vector, string text, Dictionary<string, string>? payload = null)
5252
{
5353
#pragma warning disable SKEXP0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
5454
await _memoryStore.UpsertAsync(collectionName, MemoryRecord.LocalRecord(id.ToString(), text, null, vector));

0 commit comments

Comments
 (0)