Package dev.braintrust.eval
Record Class EvalCase<INPUT,OUTPUT>
java.lang.Object
java.lang.Record
dev.braintrust.eval.EvalCase<INPUT,OUTPUT>
@Deprecated
public record EvalCase<INPUT,OUTPUT> (INPUT input, OUTPUT expected, @Nonnull List<String> tags, @Nonnull Map<String,Object> metadata)
extends Record
Deprecated.
Deprecated. Use
DatasetCase instead-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated.Indicates whether some other object is "equal to" this one.expected()Deprecated.Returns the value of theexpectedrecord component.final inthashCode()Deprecated.Returns a hash code value for this object.input()Deprecated.Returns the value of theinputrecord component.metadata()Deprecated.Returns the value of themetadatarecord component.static <INPUT,OUTPUT>
EvalCase<INPUT,OUTPUT> of(INPUT input, OUTPUT expected) Deprecated.static <INPUT,OUTPUT>
EvalCase<INPUT,OUTPUT> Deprecated.tags()Deprecated.Returns the value of thetagsrecord component.final StringtoString()Deprecated.Returns a string representation of this record class.
-
Constructor Details
-
EvalCase
@Deprecated public EvalCase(INPUT input, OUTPUT expected, @Nonnull List<String> tags, @Nonnull Map<String, Object> metadata) Deprecated.Deprecated. UseDatasetCaseinstead
-
-
Method Details
-
of
Deprecated.Deprecated. UseDatasetCaseinstead -
of
@Deprecated public static <INPUT,OUTPUT> EvalCase<INPUT,OUTPUT> of(INPUT input, OUTPUT expected, @Nonnull List<String> tags, @Nonnull Map<String, Object> metadata) Deprecated.Deprecated. UseDatasetCaseinstead -
toString
Deprecated.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
input
Deprecated.Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
expected
Deprecated.Returns the value of theexpectedrecord component.- Returns:
- the value of the
expectedrecord component
-
tags
Deprecated.Returns the value of thetagsrecord component.- Returns:
- the value of the
tagsrecord component
-
metadata
Deprecated.Returns the value of themetadatarecord component.- Returns:
- the value of the
metadatarecord component
-