pub struct RunInputBuilder<Deps, State = MissingPrompt> { /* private fields */ }Implementations§
Source§impl<Deps> RunInputBuilder<Deps, MissingPrompt>
impl<Deps> RunInputBuilder<Deps, MissingPrompt>
pub fn prompt( self, user_prompt: Vec<UserContent>, ) -> RunInputBuilder<Deps, ReadyPrompt>
pub fn user_text( self, text: impl Into<String>, ) -> RunInputBuilder<Deps, ReadyPrompt>
Source§impl<Deps, State> RunInputBuilder<Deps, State>
impl<Deps, State> RunInputBuilder<Deps, State>
pub fn message_history(self, history: Vec<ModelMessage>) -> Self
pub fn usage_limits(self, usage_limits: UsageLimits) -> Self
pub fn include_system_prompt(self, include: bool) -> Self
pub fn run_id(self, run_id: impl Into<String>) -> Self
Source§impl<Deps> RunInputBuilder<Deps, ReadyPrompt>
impl<Deps> RunInputBuilder<Deps, ReadyPrompt>
Auto Trait Implementations§
impl<Deps, State> Freeze for RunInputBuilder<Deps, State>where
Deps: Freeze,
impl<Deps, State> RefUnwindSafe for RunInputBuilder<Deps, State>where
Deps: RefUnwindSafe,
State: RefUnwindSafe,
impl<Deps, State> Send for RunInputBuilder<Deps, State>
impl<Deps, State> Sync for RunInputBuilder<Deps, State>
impl<Deps, State> Unpin for RunInputBuilder<Deps, State>
impl<Deps, State> UnwindSafe for RunInputBuilder<Deps, State>where
Deps: UnwindSafe,
State: UnwindSafe,
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