Trait openai_utils::Agent

source ·
pub trait Agent: Default {
    type Input;
    type Output;

    // Required method
    async fn compute(&mut self, input: Self::Input) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

async fn compute(&mut self, input: Self::Input) -> Self::Output

Object Safety§

This trait is not object safe.

Implementors§