pub struct EmbeddedPrompts {
pub base: &'static str,
pub verification: &'static str,
/* private fields */
}Expand description
Embedded prompts compiled into the binary
Fields§
§base: &'static str§verification: &'static strImplementations§
Source§impl EmbeddedPrompts
impl EmbeddedPrompts
Sourcepub fn provider(&self, family: ProviderFamily) -> &'static str
pub fn provider(&self, family: ProviderFamily) -> &'static str
Get the provider-specific prompt
Sourcepub fn tool_names(&self) -> impl Iterator<Item = &&'static str>
pub fn tool_names(&self) -> impl Iterator<Item = &&'static str>
Get all available tool names
Trait Implementations§
Source§impl Clone for EmbeddedPrompts
impl Clone for EmbeddedPrompts
Source§impl Debug for EmbeddedPrompts
impl Debug for EmbeddedPrompts
Auto Trait Implementations§
impl Freeze for EmbeddedPrompts
impl RefUnwindSafe for EmbeddedPrompts
impl Send for EmbeddedPrompts
impl Sync for EmbeddedPrompts
impl Unpin for EmbeddedPrompts
impl UnsafeUnpin for EmbeddedPrompts
impl UnwindSafe for EmbeddedPrompts
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