pub enum RKLLMInputType {
Prompt(String),
Token(String),
Embed(String),
Multimodal(String),
}Expand description
The type of input being provided to the LLM.
Variants§
Prompt(String)
Input is a text prompt.
Token(String)
Input is a sequence of tokens.
Embed(String)
Input is an embedding vector.
Multimodal(String)
Input is multimodal, such as text and image.
Auto Trait Implementations§
impl Freeze for RKLLMInputType
impl RefUnwindSafe for RKLLMInputType
impl Send for RKLLMInputType
impl Sync for RKLLMInputType
impl Unpin for RKLLMInputType
impl UnwindSafe for RKLLMInputType
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