From 5c3c723945bd15af7f51a5f2ed5e11edf3cc5efc Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Fri, 15 Aug 2025 09:53:07 -0500 Subject: [PATCH] minor change --- src/Plugins/BotSharp.Plugin.Qdrant/QdrantDb.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Plugins/BotSharp.Plugin.Qdrant/QdrantDb.cs b/src/Plugins/BotSharp.Plugin.Qdrant/QdrantDb.cs index 10a4f2bb..8938d6b1 100644 --- a/src/Plugins/BotSharp.Plugin.Qdrant/QdrantDb.cs +++ b/src/Plugins/BotSharp.Plugin.Qdrant/QdrantDb.cs @@ -523,8 +523,7 @@ public class QdrantDb : IVectorDb { var field = new FieldCondition { - Key = f.Key, - Match = new Match { Text = f.Value } + Key = f.Key }; if (bool.TryParse(f.Value, out var boolVal)) @@ -535,6 +534,10 @@ public class QdrantDb : IVectorDb { field.Match = new Match { Integer = intVal }; } + else + { + field.Match = new Match { Text = f.Value }; + } return new Condition { Field = field }; });