From 42cd88ac8ff13d4b1646e72fa082488dab78bad5 Mon Sep 17 00:00:00 2001 From: ryjiang Date: Thu, 18 Apr 2024 11:32:30 +0800 Subject: [PATCH] fix build Signed-off-by: ryjiang --- milvus/utils/Format.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/milvus/utils/Format.ts b/milvus/utils/Format.ts index 1c745bf3..da08a988 100644 --- a/milvus/utils/Format.ts +++ b/milvus/utils/Format.ts @@ -689,6 +689,7 @@ export const buildSearchRequest = ( const isHybridSearch = !!( searchHybridReq.data && searchHybridReq.data.length && + typeof searchHybridReq.data[0] === 'object' && searchHybridReq.data[0].anns_field );