Skip to main content

ScmKeyAlias

Type Alias ScmKeyAlias 

Source
pub type ScmKeyAlias = ScmCacheKey;
Expand description

Alias: the cache key type used by SemanticCacheManager.

Aliased Type§

pub struct ScmKeyAlias {
    pub query_text: String,
    pub embedding: Vec<f64>,
    pub query_hash: u64,
}

Fields§

§query_text: String

Original query text.

§embedding: Vec<f64>

Embedding vector for the query.

§query_hash: u64

FNV-1a 64-bit hash of query_text.