RAGSearchResult

org.llm4s.rag.RAGSearchResult
final case class RAGSearchResult(id: String, content: String, score: Double, metadata: Map[String, String], vectorScore: Option[Double], keywordScore: Option[Double])

Result from RAG search operation.

Value parameters

content

The text content of the chunk

id

Chunk identifier

keywordScore

Optional keyword match score

metadata

Additional metadata (source, docId, etc.)

score

Combined relevance score

vectorScore

Optional vector similarity score

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