org.llm4s.reranker.CohereReranker
See theCohereReranker companion class
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Create a Cohere reranker from config.
Create a Cohere reranker from config.
Value parameters
-
config
-
Provider configuration
Attributes
-
Returns
-
Cohere reranker instance
Create a Cohere reranker from individual parameters.
Create a Cohere reranker from individual parameters.
Value parameters
-
apiKey
-
Cohere API key
-
baseUrl
-
API base URL (default: https://api.cohere.ai)
-
model
-
Reranking model (default: rerank-english-v3.0)
Attributes
-
Returns
-
Cohere reranker instance
Default Cohere API base URL
Default Cohere API base URL
Attributes