From fa1cb9df6543a2842b7e8cbbacf4509f14647229 Mon Sep 17 00:00:00 2001 From: "Michael B. Klein" Date: Thu, 14 Mar 2024 16:05:07 +0000 Subject: [PATCH] Fix OpenSearchNeuralSearch initializer --- chat/src/handlers/opensearch_neural_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat/src/handlers/opensearch_neural_search.py b/chat/src/handlers/opensearch_neural_search.py index 09b59cb2..7016bccc 100644 --- a/chat/src/handlers/opensearch_neural_search.py +++ b/chat/src/handlers/opensearch_neural_search.py @@ -9,10 +9,10 @@ class OpenSearchNeuralSearch(VectorStore): def __init__( self, - client: None, endpoint: str, index: str, model_id: str, + client: OpenSearch = None, vector_field: str = "embedding", search_pipeline: str = None, text_field: str = "id",