Hit
class Hit(val scope: String, val prompt: String, val matchedPrompt: String, val similarity: Double, val entryId: String, val timings: EventTimings) : CacheEvent
A lookup that was served from the cache.
Constructors
Properties
Link copied to clipboard
The cached prompt whose response was served — rarely identical to prompt.
Link copied to clipboard
Similarity between prompt and matchedPrompt, in [-1.0, 1.0].
Link copied to clipboard
How long each stage of the lookup took.