ScoredRecord

org.llm4s.vectorstore.ScoredRecord
See theScoredRecord companion object
final case class ScoredRecord(record: VectorRecord, score: Double)

A record with its similarity score from a search.

Value parameters

record

The vector record

score

Similarity score (0.0 to 1.0, higher is more similar)

Attributes

Companion
object
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