Class VertexAiEmbeddingUtils.ImageBuilder

java.lang.Object
org.springframework.ai.vertexai.embedding.VertexAiEmbeddingUtils.ImageBuilder
Enclosing class:
VertexAiEmbeddingUtils

public static class VertexAiEmbeddingUtils.ImageBuilder extends Object
  • Field Details

    • imageBytes

      public byte[] imageBytes
      Image bytes to be encoded in a base64 string.
    • gcsUri

      public String gcsUri
      The Cloud Storage location of the image to perform the embedding. One of bytesBase64Encoded or gcsUri.
    • mimeType

      public org.springframework.util.MimeType mimeType
      The MIME type of the content of the image. Supported values: image/jpeg and image/png.
  • Constructor Details

    • ImageBuilder

      public ImageBuilder()
  • Method Details