pub struct VotingAgent<P: LlmProvider + 'static> { /* private fields */ }Expand description
Orchestrates majority voting across N agents running in parallel.
Implementations§
Source§impl<P: LlmProvider + 'static> VotingAgent<P>
impl<P: LlmProvider + 'static> VotingAgent<P>
Sourcepub fn builder() -> VotingAgentBuilder<P>
pub fn builder() -> VotingAgentBuilder<P>
Create a new VotingAgentBuilder.
Trait Implementations§
Source§impl<P: LlmProvider + 'static> Debug for VotingAgent<P>
impl<P: LlmProvider + 'static> Debug for VotingAgent<P>
Source§impl<P: LlmProvider + 'static> From<VotingAgent<P>> for WorkflowRouter<P>
impl<P: LlmProvider + 'static> From<VotingAgent<P>> for WorkflowRouter<P>
Source§fn from(agent: VotingAgent<P>) -> Self
fn from(agent: VotingAgent<P>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<P> Freeze for VotingAgent<P>
impl<P> !RefUnwindSafe for VotingAgent<P>
impl<P> Send for VotingAgent<P>
impl<P> Sync for VotingAgent<P>
impl<P> Unpin for VotingAgent<P>
impl<P> UnsafeUnpin for VotingAgent<P>
impl<P> !UnwindSafe for VotingAgent<P>
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