Optional
fields: GoogleVertexAIMultimodalEmbeddingsParamsGenerates embeddings for multiple media instances.
An array of media instances.
A promise that resolves to an array of media embeddings.
Generates embeddings for a single media instance.
A single media instance.
A promise that resolves to a media embedding.
Converts media (text or image) to an instance that can be used for generating embeddings.
The media (text or image) to be converted.
An instance of media that can be used for generating embeddings.
Converts the response from Google Vertex AI to embeddings.
The response from Google Vertex AI.
An array of media embeddings.
Class for generating embeddings for text and images using Google's Vertex AI. It extends the Embeddings base class and implements the GoogleVertexAIMultimodalEmbeddingsParams interface.