pub enum CostClass {
VeryLow,
Low,
Medium,
High,
VeryHigh,
}Expand description
Cost classification for model selection.
Variants§
VeryLow
Very low cost (e.g., Haiku, GPT-3.5 Turbo, Gemini Flash)
Low
Low cost (e.g., Sonnet, GPT-4 Turbo)
Medium
Medium cost (e.g., Opus, GPT-4)
High
High cost (e.g., Opus-4, GPT-4o)
VeryHigh
Very high cost (e.g., specialized models)
Implementations§
Trait Implementations§
Source§impl Ord for CostClass
impl Ord for CostClass
Source§impl PartialOrd for CostClass
impl PartialOrd for CostClass
impl Copy for CostClass
impl Eq for CostClass
impl StructuralPartialEq for CostClass
Auto Trait Implementations§
impl Freeze for CostClass
impl RefUnwindSafe for CostClass
impl Send for CostClass
impl Sync for CostClass
impl Unpin for CostClass
impl UnwindSafe for CostClass
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more