org.llm4s.rag.RerankingStrategy
See theRerankingStrategy companion trait
object RerankingStrategy
Attributes
- Companion
- trait
- Source
- RAGTypes.scala
- Graph
-
- Supertypes
- Self type
-
RerankingStrategy.type
Members list
Type members
Classlikes
final case class Cohere(model: String) extends RerankingStrategy
Use Cohere's cross-encoder reranking API
Use Cohere's cross-encoder reranking API
Attributes
- Source
- RAGTypes.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RerankingStrategyclass Objecttrait Matchableclass AnyShow all
case object LLM extends RerankingStrategy
Use LLM as judge for reranking
Use LLM as judge for reranking
Attributes
- Source
- RAGTypes.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait RerankingStrategyclass Objecttrait Matchableclass AnyShow all
- Self type
-
LLM.type
case object None extends RerankingStrategy
No reranking - use fusion scores directly
No reranking - use fusion scores directly
Attributes
- Source
- RAGTypes.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait RerankingStrategyclass Objecttrait Matchableclass AnyShow all
- Self type
-
None.type
Inherited and Abstract types
The names of the product elements
The name of the type
In this article
