HybridSearchResult
org.llm4s.vectorstore.HybridSearchResult
final case class HybridSearchResult(id: String, content: String, score: Double, vectorScore: Option[Double], keywordScore: Option[Double], metadata: Map[String, String], highlights: Seq[String])
Result from hybrid search combining vector and keyword results.
Value parameters
- content
-
Document content
- highlights
-
Keyword match highlights (if available)
- id
-
Document ID
- keywordScore
-
Original BM25 keyword score (if available)
- metadata
-
Document metadata
- score
-
Combined relevance score (higher is better)
- vectorScore
-
Original vector similarity score (0-1, if available)
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article