Class VoyageAiScoringModel
java.lang.Object
dev.langchain4j.model.voyageai.VoyageAiScoringModel
- All Implemented Interfaces:
dev.langchain4j.model.scoring.ScoringModel
public class VoyageAiScoringModel
extends Object
implements dev.langchain4j.model.scoring.ScoringModel
An implementation of a
ScoringModel that uses
Voyage AI Rerank API.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionVoyageAiScoringModel(dev.langchain4j.http.client.HttpClientBuilder httpClientBuilder, Map<String, String> customHeaders, String baseUrl, Duration timeout, Integer maxRetries, String apiKey, String modelName, Integer topK, Boolean truncation, Boolean logRequests, Boolean logResponses) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
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
-
VoyageAiScoringModel
@Deprecated(forRemoval=true, since="1.4.0") public VoyageAiScoringModel(dev.langchain4j.http.client.HttpClientBuilder httpClientBuilder, Map<String, String> customHeaders, String baseUrl, Duration timeout, Integer maxRetries, String apiKey, String modelName, Integer topK, Boolean truncation, Boolean logRequests, Boolean logResponses) Deprecated, for removal: This API element is subject to removal in a future version. -
VoyageAiScoringModel
-
-
Method Details
-
scoreAll
-
builder
-