Class ScoringResponseMetadata
java.lang.Object
dev.langchain4j.model.scoring.response.ScoringResponseMetadata
The metadata of a
ScoringResponse: the modelName() that produced the scores and the
tokenUsage() (or provider billing units) the call consumed. Provider integrations extend this class
(and its self-typed ScoringResponseMetadata.Builder) to add provider-specific metadata.- Since:
- 1.20.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic ScoringResponseMetadata.Builder<?> builder()booleaninthashCode()toString()
-
Constructor Details
-
ScoringResponseMetadata
-
-
Method Details
-
modelName
-
tokenUsage
-
equals
-
hashCode
-
toString
-
builder
-