ScoredMemory

org.llm4s.agent.memory.ScoredMemory
See theScoredMemory companion object
final case class ScoredMemory(memory: Memory, score: Double)

A memory with an associated relevance score.

Used in search results to indicate how well a memory matches the search query.

Value parameters

memory

The memory

score

Relevance score (0.0 to 1.0, higher is more relevant)

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