Google Vertex AI Embeddings
features and configuration options, please refer to the API reference.
Provider | Package |
---|---|
langchain-google-vertexai |
langchain-google-vertexai
integration package.langchain-google-vertexai
package:
Check the list of Supported Models
embeddings
object we initialized above. In this example, we will index and retrieve a sample document in the InMemoryVectorStore
.
embeddings.embed_documents(...)
and embeddings.embed_query(...)
to create embeddings for the text(s) used in from_texts
and retrieval invoke
operations, respectively.
You can directly call these methods to get embeddings for your own use cases.
embed_query
:
embed_documents
:
Google Vertex AI Embeddings
features and configuration options, please refer to the API reference.