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 }; });