Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuligin committed Feb 26, 2024
1 parent 925f524 commit 19e73c2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ def _get_default_embeddings(cls) -> Embeddings:
)

# TODO: Change to vertexai embbedingss
from langchain_community import (
embeddings, # type: ignore[import-not-found, unused-ignore]
from langchain_community.embeddings import (
TensorflowHubEmbeddings, # type: ignore[import-not-found, unused-ignore]
)

return embeddings.TensorflowHubEmbeddings()
return TensorflowHubEmbeddings()

def _generate_unique_ids(self, number: int) -> List[str]:
"""Generates a list of unique ids of length `number`
Expand Down

0 comments on commit 19e73c2

Please sign in to comment.