llm_chain::agents::self_ask_with_search

Trait AgentOutputParser

Source
pub trait AgentOutputParser {
    type Error;

    // Required method
    fn parse(&self, text: String) -> Result<AgentDecision, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn parse(&self, text: String) -> Result<AgentDecision, Self::Error>

Implementors§