Class AnswerGrader

java.lang.Object
dev.langchain4j.adaptiverag.AnswerGrader
All Implemented Interfaces:
Function<AnswerGrader.Arguments,AnswerGrader.Score>

public class AnswerGrader extends Object implements Function<AnswerGrader.Arguments,AnswerGrader.Score>
Class to grade answers based on whether they address a given question. Implements the Function interface to take in Arguments and output a Score.