Class VertexAiMultimodalEmbeddingModel
java.lang.Object
org.springframework.ai.vertexai.embedding.multimodal.VertexAiMultimodalEmbeddingModel
- All Implemented Interfaces:
DocumentEmbeddingModel
,Model<DocumentEmbeddingRequest,
EmbeddingResponse>
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
-
Constructor Summary
ConstructorDescriptionVertexAiMultimodalEmbeddingModel
(VertexAiEmbeddingConnectionDetails connectionDetails, VertexAiMultimodalEmbeddingOptions defaultEmbeddingOptions) -
Method Summary
Modifier and TypeMethodDescriptioncall
(DocumentEmbeddingRequest request) Executes a method call to the AI model.int
-
Field Details
-
defaultOptions
-
-
Constructor Details
-
VertexAiMultimodalEmbeddingModel
public VertexAiMultimodalEmbeddingModel(VertexAiEmbeddingConnectionDetails connectionDetails, VertexAiMultimodalEmbeddingOptions defaultEmbeddingOptions)
-
-
Method Details
-
call
Description copied from interface:Model
Executes a method call to the AI model.- Specified by:
call
in interfaceDocumentEmbeddingModel
- Specified by:
call
in interfaceModel<DocumentEmbeddingRequest,
EmbeddingResponse> - Parameters:
request
- the request object to be sent to the AI model- Returns:
- the response from the AI model
-
dimensions
public int dimensions()- Specified by:
dimensions
in interfaceDocumentEmbeddingModel
-