From 6dc518b093823561b85cdfcab255ac8f09a33128 Mon Sep 17 00:00:00 2001 From: Haiping Chen Date: Wed, 10 Jul 2024 23:37:43 -0500 Subject: [PATCH] Fix Upsert compile issue. --- .../SemanticKernelMemoryStoreProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/BotSharp.Plugin.SemanticKernel/SemanticKernelMemoryStoreProvider.cs b/src/Plugins/BotSharp.Plugin.SemanticKernel/SemanticKernelMemoryStoreProvider.cs index 7df2c0cd..962957f5 100644 --- a/src/Plugins/BotSharp.Plugin.SemanticKernel/SemanticKernelMemoryStoreProvider.cs +++ b/src/Plugins/BotSharp.Plugin.SemanticKernel/SemanticKernelMemoryStoreProvider.cs @@ -48,7 +48,7 @@ namespace BotSharp.Plugin.SemanticKernel } - public async Task Upsert(string collectionName, int id, float[] vector, string text) + public async Task Upsert(string collectionName, string id, float[] vector, string text, Dictionary? payload = null) { #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. await _memoryStore.UpsertAsync(collectionName, MemoryRecord.LocalRecord(id.ToString(), text, null, vector));