Update VertexAIEmbeddings.py (#1834)

Upgrade to new library that isn't deprecated.
This commit is contained in:
Kiyu Gabriel 2024-05-06 14:48:36 -05:00 committed by GitHub
commit dea6b5167e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
from typing import List, Optional
from langchain_community.embeddings import VertexAIEmbeddings
from langchain_google_vertexai import VertexAIEmbeddings
from langflow.interface.custom.custom_component import CustomComponent