Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
holtskinner committed Feb 26, 2024
1 parent 4372a15 commit a80581c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/vertexai/langchain_google_vertexai/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def __init__(
self.instance["task_executor"] = ThreadPoolExecutor(
max_workers=request_parallelism
)
self.instance["embeddings_task_type_supported"] = (
not self.client._endpoint_name.endswith("/textembedding-gecko@001")
)
self.instance[
"embeddings_task_type_supported"
] = not self.client._endpoint_name.endswith("/textembedding-gecko@001")

@staticmethod
def _split_by_punctuation(text: str) -> List[str]:
Expand Down

0 comments on commit a80581c

Please sign in to comment.