From 2ed2a000b49b69d0e80c57fbc762e2c38e2cdb01 Mon Sep 17 00:00:00 2001 From: anindyam1969 Date: Tue, 13 Feb 2024 12:25:26 +0530 Subject: [PATCH] Modified init method and merged upstream --- libs/community/langchain_community/vectorstores/kinetica.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libs/community/langchain_community/vectorstores/kinetica.py b/libs/community/langchain_community/vectorstores/kinetica.py index e52fb75e0de1c..641e6a8272ba9 100644 --- a/libs/community/langchain_community/vectorstores/kinetica.py +++ b/libs/community/langchain_community/vectorstores/kinetica.py @@ -154,11 +154,7 @@ def __init__( Defaults to None. """ - self.dimensions = ( - int(Dimension.OPENAI) - if dimensions is None or not isinstance(dimensions, int) or dimensions <= 0 - else dimensions - ) + self.dimensions = dimensions self._config = config self.embedding_function = embedding_function