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 Details

  • Constructor Details

  • Method Details

    • call

      public org.springframework.ai.embedding.EmbeddingResponse call(org.springframework.ai.embedding.DocumentEmbeddingRequest request)
      Specified by:
      call in interface org.springframework.ai.embedding.DocumentEmbeddingModel
      Specified by:
      call in interface org.springframework.ai.model.Model<org.springframework.ai.embedding.DocumentEmbeddingRequest,org.springframework.ai.embedding.EmbeddingResponse>
    • dimensions

      public int dimensions()
      Specified by:
      dimensions in interface org.springframework.ai.embedding.DocumentEmbeddingModel