pub enum PromptFrame {
Raw,
CmfImV1,
Other,
}Expand description
How the prompt a lane will generate from is framed.
Variants§
Raw
Raw completion text (no chat template).
CmfImV1
The cmf-im-v1 ChatML frame (a template or the ChatML fallback
that renders <|im_start|>role\n…<|im_end|>).
Other
Some other chat template.
Trait Implementations§
Source§impl Clone for PromptFrame
impl Clone for PromptFrame
impl Copy for PromptFrame
Source§impl Debug for PromptFrame
impl Debug for PromptFrame
impl Eq for PromptFrame
Source§impl PartialEq for PromptFrame
impl PartialEq for PromptFrame
impl StructuralPartialEq for PromptFrame
Auto Trait Implementations§
impl Freeze for PromptFrame
impl RefUnwindSafe for PromptFrame
impl Send for PromptFrame
impl Sync for PromptFrame
impl Unpin for PromptFrame
impl UnsafeUnpin for PromptFrame
impl UnwindSafe for PromptFrame
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.