KeywordSearchResult

org.llm4s.vectorstore.KeywordSearchResult
final case class KeywordSearchResult(id: String, content: String, score: Double, metadata: Map[String, String], highlights: Seq[String])

Result from a keyword search operation.

Value parameters

content

Document content

highlights

Optional highlighted snippets showing match context

id

Document ID

metadata

Document metadata

score

BM25 relevance score (higher is more relevant)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product