Class EmbeddingResponseMetadata
java.lang.Object
dev.langchain4j.model.embedding.response.EmbeddingResponseMetadata
Metadata returned alongside an
EmbeddingResponse, describing the call that produced it: the
model name and the token usage. Provider integrations may extend
this class to add provider-specific metadata.
Embedding APIs report only input token counts, so TokenUsage.outputTokenCount() is left null.
- Since:
- 1.18.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic EmbeddingResponseMetadata.Builder<?> builder()booleaninthashCode()toString()
-
Constructor Details
-
EmbeddingResponseMetadata
-
-
Method Details
-
modelName
-
tokenUsage
-
equals
-
hashCode
-
toString
-
builder
-