Skip to main content

cache_key

Function cache_key 

Source
pub fn cache_key(prompt: &str, model: &str, temperature: f32) -> CacheKey
Expand description

Build a CacheKey from a prompt string, model name, and temperature.