Skip to content

Commit

Permalink
BigQueryVectorSearch block in vectorstores/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkol committed Dec 22, 2023
1 parent 54b8ee4 commit 8019aa5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libs/community/langchain_community/vectorstores/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@ def _import_baiducloud_vector_search() -> Any:
return BESVectorStore


def _import_bigquery() -> Any:
from langchain_community.vectorstores.bigquery_vector_search import (
BigQueryVectorSearch,
)

return BigQueryVectorSearch


def _import_cassandra() -> Any:
from langchain_community.vectorstores.cassandra import Cassandra

Expand Down Expand Up @@ -473,6 +481,8 @@ def __getattr__(name: str) -> Any:
return _import_azuresearch()
elif name == "Bagel":
return _import_bageldb()
elif name == "BigQueryVectorSearch":
return _import_bigquery()
elif name == "BESVectorStore":
return _import_baiducloud_vector_search()
elif name == "Cassandra":
Expand Down

0 comments on commit 8019aa5

Please sign in to comment.