pub enum ContextTier {
Default,
LongContext,
Unknown,
}Expand description
Context window tier for models that support tiered context windows.
Allowed values for the ContextTier enumeration.
Variants§
Default
Default context tier with standard context window size.
LongContext
Extended context tier with a larger context window.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for ContextTier
impl Clone for ContextTier
Source§fn clone(&self) -> ContextTier
fn clone(&self) -> ContextTier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextTier
impl Debug for ContextTier
Source§impl Default for ContextTier
impl Default for ContextTier
Source§fn default() -> ContextTier
fn default() -> ContextTier
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContextTier
impl<'de> Deserialize<'de> for ContextTier
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextTier
Source§impl PartialEq for ContextTier
impl PartialEq for ContextTier
Source§fn eq(&self, other: &ContextTier) -> bool
fn eq(&self, other: &ContextTier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextTier
impl Serialize for ContextTier
impl StructuralPartialEq for ContextTier
Auto Trait Implementations§
impl Freeze for ContextTier
impl RefUnwindSafe for ContextTier
impl Send for ContextTier
impl Sync for ContextTier
impl Unpin for ContextTier
impl UnsafeUnpin for ContextTier
impl UnwindSafe for ContextTier
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