Class VertexAiMultimodalEmbeddingModel
java.lang.Object
org.springframework.ai.vertexai.embedding.multimodal.VertexAiMultimodalEmbeddingModel
- All Implemented Interfaces:
org.springframework.ai.embedding.DocumentEmbeddingModel,org.springframework.ai.model.Model<org.springframework.ai.embedding.DocumentEmbeddingRequest,org.springframework.ai.embedding.EmbeddingResponse>
public class VertexAiMultimodalEmbeddingModel
extends Object
implements org.springframework.ai.embedding.DocumentEmbeddingModel
Implementation of the Vertex AI Multimodal Embedding Model. Note: This implementation
is not yet fully functional and is subject to change.
- Since:
- 1.0.0
- Author:
- Christian Tzolov, Mark Pollack
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVertexAiMultimodalEmbeddingModel(VertexAiEmbeddingConnectionDetails connectionDetails, VertexAiMultimodalEmbeddingOptions defaultEmbeddingOptions) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ai.embedding.EmbeddingResponsecall(org.springframework.ai.embedding.DocumentEmbeddingRequest request) int
-
Field Details
-
defaultOptions
-
-
Constructor Details
-
VertexAiMultimodalEmbeddingModel
public VertexAiMultimodalEmbeddingModel(VertexAiEmbeddingConnectionDetails connectionDetails, VertexAiMultimodalEmbeddingOptions defaultEmbeddingOptions)
-
-
Method Details
-
call
public org.springframework.ai.embedding.EmbeddingResponse call(org.springframework.ai.embedding.DocumentEmbeddingRequest request) - Specified by:
callin interfaceorg.springframework.ai.embedding.DocumentEmbeddingModel- Specified by:
callin interfaceorg.springframework.ai.model.Model<org.springframework.ai.embedding.DocumentEmbeddingRequest,org.springframework.ai.embedding.EmbeddingResponse>
-
dimensions
public int dimensions()- Specified by:
dimensionsin interfaceorg.springframework.ai.embedding.DocumentEmbeddingModel
-