Class EmbeddingResultMetadata

java.lang.Object
org.springframework.ai.embedding.EmbeddingResultMetadata
All Implemented Interfaces:
ResultMetadata

public class EmbeddingResultMetadata extends Object implements ResultMetadata
Metadata associated with the embedding result.
Author:
Christian Tzolov, Jihoon Kim
  • Field Details

  • Constructor Details

    • EmbeddingResultMetadata

      public EmbeddingResultMetadata()
    • EmbeddingResultMetadata

      public EmbeddingResultMetadata(String documentId, EmbeddingResultMetadata.ModalityType modalityType, org.springframework.util.MimeType mimeType, Object documentData)
  • Method Details

    • getModalityType

      public EmbeddingResultMetadata.ModalityType getModalityType()
    • getMimeType

      public org.springframework.util.MimeType getMimeType()
    • getDocumentId

      public String getDocumentId()
    • getDocumentData

      public Object getDocumentData()