Record Class EmbeddingBenchRecommendation.Decision

java.lang.Object
java.lang.Record
com.tnsai.evaluation.rag.embedding.EmbeddingBenchRecommendation.Decision
Enclosing class:
EmbeddingBenchRecommendation

public static record EmbeddingBenchRecommendation.Decision(String productionDefault, boolean changeProductionDefault, String installableDefault, String qualityOverride, String loser, String loserStillUsefulWhen, String rationale) extends Record
  • Constructor Details

    • Decision

      public Decision(String productionDefault, boolean changeProductionDefault, String installableDefault, String qualityOverride, String loser, String loserStillUsefulWhen, String rationale)
      Creates an instance of a Decision record class.
      Parameters:
      productionDefault - the value for the productionDefault record component
      changeProductionDefault - the value for the changeProductionDefault record component
      installableDefault - the value for the installableDefault record component
      qualityOverride - the value for the qualityOverride record component
      loser - the value for the loser record component
      loserStillUsefulWhen - the value for the loserStillUsefulWhen record component
      rationale - the value for the rationale record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • productionDefault

      public String productionDefault()
      Returns the value of the productionDefault record component.
      Returns:
      the value of the productionDefault record component
    • changeProductionDefault

      public boolean changeProductionDefault()
      Returns the value of the changeProductionDefault record component.
      Returns:
      the value of the changeProductionDefault record component
    • installableDefault

      public String installableDefault()
      Returns the value of the installableDefault record component.
      Returns:
      the value of the installableDefault record component
    • qualityOverride

      public String qualityOverride()
      Returns the value of the qualityOverride record component.
      Returns:
      the value of the qualityOverride record component
    • loser

      public String loser()
      Returns the value of the loser record component.
      Returns:
      the value of the loser record component
    • loserStillUsefulWhen

      public String loserStillUsefulWhen()
      Returns the value of the loserStillUsefulWhen record component.
      Returns:
      the value of the loserStillUsefulWhen record component
    • rationale

      public String rationale()
      Returns the value of the rationale record component.
      Returns:
      the value of the rationale record component