Package akka.javasdk.testkit.eval
Record Class JudgeAgent.Request
- Record Components:
systemMessage- what to decide and the reply formatuserMessage- the criterion and the evidence, as textmodelConfigPath- the configuration path of the model to ask; empty for the configured default
- Enclosing class:
JudgeAgent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themodelConfigPathrecord component.Returns the value of thesystemMessagerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserMessagerecord component.
-
Constructor Details
-
Request
Creates an instance of aRequestrecord class.- Parameters:
systemMessage- the value for thesystemMessagerecord componentuserMessage- the value for theuserMessagerecord componentmodelConfigPath- the value for themodelConfigPathrecord component
-
-
Method Details
-
toString
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()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
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). -
systemMessage
Returns the value of thesystemMessagerecord component.- Returns:
- the value of the
systemMessagerecord component
-
userMessage
Returns the value of theuserMessagerecord component.- Returns:
- the value of the
userMessagerecord component
-
modelConfigPath
Returns the value of themodelConfigPathrecord component.- Returns:
- the value of the
modelConfigPathrecord component
-