Enum spin_sdk::llm::InferencingModel
source · pub enum InferencingModel<'a> {
Llama2Chat,
CodellamaInstruct,
Other(&'a str),
}
Expand description
The model use for inferencing
Variants§
Trait Implementations§
source§impl<'a> Clone for InferencingModel<'a>
impl<'a> Clone for InferencingModel<'a>
source§fn clone(&self) -> InferencingModel<'a>
fn clone(&self) -> InferencingModel<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for InferencingModel<'a>
impl<'a> Debug for InferencingModel<'a>
source§impl<'a> Display for InferencingModel<'a>
impl<'a> Display for InferencingModel<'a>
impl<'a> Copy for InferencingModel<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for InferencingModel<'a>
impl<'a> Send for InferencingModel<'a>
impl<'a> Sync for InferencingModel<'a>
impl<'a> Unpin for InferencingModel<'a>
impl<'a> UnwindSafe for InferencingModel<'a>
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