Package org.springframework.ai.embedding
Class EmbeddingResultMetadata
java.lang.Object
org.springframework.ai.embedding.EmbeddingResultMetadata
- All Implemented Interfaces:
ResultMetadata
Metadata associated with the embedding result.
- Author:
- Christian Tzolov, Jihoon Kim
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEmbeddingResultMetadata
(String documentId, EmbeddingResultMetadata.ModalityType modalityType, org.springframework.util.MimeType mimeType, Object documentData) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.util.MimeType
-
Field Details
-
EMPTY
-
-
Constructor Details
-
EmbeddingResultMetadata
public EmbeddingResultMetadata() -
EmbeddingResultMetadata
public EmbeddingResultMetadata(String documentId, EmbeddingResultMetadata.ModalityType modalityType, org.springframework.util.MimeType mimeType, Object documentData)
-
-
Method Details
-
getModalityType
-
getMimeType
public org.springframework.util.MimeType getMimeType() -
getDocumentId
-
getDocumentData
-