pub struct PreAnalysis {
pub intent: AgentStyle,
pub requires_planning: bool,
pub goal: AgentGoal,
pub execution_plan: ExecutionPlan,
pub optimized_input: String,
}Expand description
Pre-analysis result — intent, goal, plan, and optimized input in one LLM call.
Fields§
§intent: AgentStyle§requires_planning: bool§goal: AgentGoal§execution_plan: ExecutionPlan§optimized_input: StringLLM-rewritten version of the user input with ambiguities resolved.
Trait Implementations§
Source§impl Clone for PreAnalysis
impl Clone for PreAnalysis
Source§fn clone(&self) -> PreAnalysis
fn clone(&self) -> PreAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PreAnalysis
impl RefUnwindSafe for PreAnalysis
impl Send for PreAnalysis
impl Sync for PreAnalysis
impl Unpin for PreAnalysis
impl UnsafeUnpin for PreAnalysis
impl UnwindSafe for PreAnalysis
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more