pub struct RKLLMInput {
pub input_type: RKLLMInputType,
pub enable_thinking: bool,
pub role: RKLLMInputRole,
}Expand description
Represents different types of input that can be provided to the LLM.
Fields§
§input_type: RKLLMInputTypeThe type of input being provided to the LLM.
enable_thinking: boolWhether to enable thinking during the inference.
role: RKLLMInputRoleThe role of the user providing the input.
Auto Trait Implementations§
impl Freeze for RKLLMInput
impl RefUnwindSafe for RKLLMInput
impl Send for RKLLMInput
impl Sync for RKLLMInput
impl Unpin for RKLLMInput
impl UnwindSafe for RKLLMInput
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