Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::CacheKey Struct Reference

64-bit hash used as cache lookup key. More...

#include </home/runner/work/entropic/entropic/src/inference/prompt_cache.h>

Public Member Functions

bool operator== (const CacheKey &other) const
 

Public Attributes

uint64_t hash
 Combined hash value.
 

Detailed Description

64-bit hash used as cache lookup key.

Hash of (prompt_text + '\0' + model_path). Not a security hash – this is a cache key where speed matters and collision across <20 entries is negligible.

Version
1.8.3

Definition at line 38 of file prompt_cache.h.

Member Function Documentation

◆ operator==()

bool entropic::CacheKey::operator== ( const CacheKey other) const
inline

Definition at line 41 of file prompt_cache.h.

Member Data Documentation

◆ hash

uint64_t entropic::CacheKey::hash

Combined hash value.

Definition at line 39 of file prompt_cache.h.


The documentation for this struct was generated from the following file: