Skip to content

Commit

Permalink
Update integrations/langchain/src/databricks_langchain/vectorstores.py
Browse files Browse the repository at this point in the history
Co-authored-by: Prithvi Kannan <[email protected]>
  • Loading branch information
chutch1122 and prithvikannan authored Dec 18, 2024
1 parent f5094cc commit 81220c4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ def __init__(
) from e

try:
self.index = VectorSearchClient(**client_args).get_index(
self.index = VectorSearchClient(**(client_args or {})).get_index(
endpoint_name=endpoint, index_name=index_name
)
endpoint_name=endpoint, index_name=index_name
)
except Exception as e:
Expand Down

0 comments on commit 81220c4

Please sign in to comment.