pub enum Prompt {
PromptString(String),
PromptStringArray(Vec<String>),
TokensArray(Vec<usize>),
TokenArraysArray(Vec<Vec<usize>>),
}
Variants§
PromptString(String)
String
PromptStringArray(Vec<String>)
Array of strings
TokensArray(Vec<usize>)
Array of tokens
TokenArraysArray(Vec<Vec<usize>>)
Array of arrays of tokens
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Prompt
impl RefUnwindSafe for Prompt
impl Send for Prompt
impl Sync for Prompt
impl Unpin for Prompt
impl UnwindSafe for Prompt
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