pub trait AgentOutputParser: Send + Sync {
    // Required methods
    fn parse(&self, text: &str) -> Result<AgentEvent, Box<dyn Error>>;
    fn get_format_instructions(&self) -> &str;
}

Required Methods§

source

fn parse(&self, text: &str) -> Result<AgentEvent, Box<dyn Error>>

source

fn get_format_instructions(&self) -> &str

Implementors§