enh: kb metadata search
This commit is contained in:
1 parent
eff772562b
commit
3c986adeda
18 files changed
+257
-26
No files matched your search
@@ -157,7 +157,7 @@ class MilvusClient(VectorDBBase):
|
||||
collection.insert(entities)
|
||||
|
||||
def search(
|
||||
self, collection_name: str, vectors: List[List[float]], limit: int
|
||||
self, collection_name: str, vectors: List[List[float]], filter: Optional[Dict] = None, limit: int = 10
|
||||
) -> Optional[SearchResult]:
|
||||
if not vectors:
|
||||
return None
|
||||
|
||||
Reference in new issue
Block a user