Class CohereScoringModel
java.lang.Object
dev.langchain4j.model.cohere.CohereScoringModel
- All Implemented Interfaces:
dev.langchain4j.model.scoring.ScoringModel
public class CohereScoringModel
extends Object
implements dev.langchain4j.model.scoring.ScoringModel
An implementation of a
ScoringModel that uses
Cohere Rerank API.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static CohereScoringModelwithApiKey(String apiKey) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.langchain4j.model.scoring.ScoringModel
score, score
-
Constructor Details
-
CohereScoringModel
-
CohereScoringModel
-
-
Method Details
-
withApiKey
Deprecated, for removal: This API element is subject to removal in a future version.Please usebuilder()instead, and explicitly set the model name and, if necessary, other parameters. -
builder
-
scoreAll
-
builder()instead, and explicitly set the model name and, if necessary, other parameters.