stasis-rs 0.1.0

Durable AI orchestration framework with runtime jobs, lineage, and memory integration
Documentation
1
2
3
4
5
6
use genai::chat::ChatResponse;

pub trait AiChatResponseCache: Send + Sync {
    fn get(&self, key: &str) -> Option<ChatResponse>;
    fn set(&self, key: &str, response: ChatResponse);
}