Uses of Class
dev.langchain4j.model.scoring.DecisionScoringModel.Builder
Packages that use DecisionScoringModel.Builder
-
Uses of DecisionScoringModel.Builder in dev.langchain4j.model.scoring
Methods in dev.langchain4j.model.scoring that return DecisionScoringModel.BuilderModifier and TypeMethodDescriptionstatic DecisionScoringModel.BuilderDecisionScoringModel.builder()DecisionScoringModel.Builder.decisionModel(DecisionModel decisionModel) Sets the decision model that scores the segments.DecisionScoringModel.Builder.maxSegmentsPerRequest(Integer maxSegmentsPerRequest) Sets the maximum number of segments sent in a single request to the decision model, so that the segments of a request do not exceed the input size accepted by the decision model.DecisionScoringModel.Builder.questionTemplate(PromptTemplate questionTemplate) Sets the template of the yes/no question asked for each segment, which must contain the{{document}}variable (the text of the segment).Constructors in dev.langchain4j.model.scoring with parameters of type DecisionScoringModel.BuilderModifierConstructorDescriptionprotected