Trait openai_utils::MemoizedAgent
source · pub trait MemoizedAgent: Memoized {
type Input;
// Required method
async fn computation(&mut self, input: Self::Input) -> Self::Output;
// Provided method
async fn compute(&mut self, input: Self::Input) -> Self::Output { ... }
}
Required Associated Types§
Required Methods§
async fn computation(&mut self, input: Self::Input) -> Self::Output
Provided Methods§
Object Safety§
This trait is not object safe.