CacheHit

org.llm4s.trace.TraceEvent.CacheHit
case class CacheHit(similarity: Double, threshold: Double, timestamp: Instant) extends TraceEvent

Cache hit event for semantic caching

Attributes

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

Members list

Value members

Concrete methods

def eventType: String
def toJson: Value

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product