pub struct DebatePrompts;Expand description
Prompt templates for debate agents
Implementations§
Source§impl DebatePrompts
impl DebatePrompts
Sourcepub fn advocate_opening(proposition: &str) -> String
pub fn advocate_opening(proposition: &str) -> String
Opening argument for advocate
Sourcepub fn critic_opening(proposition: &str, advocate_arg: &str) -> String
pub fn critic_opening(proposition: &str, advocate_arg: &str) -> String
Opening argument for critic
Sourcepub fn advocate_rebuttal(
proposition: &str,
critic_arg: &str,
previous_args: &str,
) -> String
pub fn advocate_rebuttal( proposition: &str, critic_arg: &str, previous_args: &str, ) -> String
Rebuttal for advocate
Sourcepub fn synthesizer_verdict(proposition: &str, transcript: &str) -> String
pub fn synthesizer_verdict(proposition: &str, transcript: &str) -> String
Final synthesis
Sourcepub fn fact_checker(claims: &str) -> String
pub fn fact_checker(claims: &str) -> String
Fact-checker prompt
Auto Trait Implementations§
impl Freeze for DebatePrompts
impl RefUnwindSafe for DebatePrompts
impl Send for DebatePrompts
impl Sync for DebatePrompts
impl Unpin for DebatePrompts
impl UnwindSafe for DebatePrompts
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more