pub enum ChatGPTEngine {
Gpt35Turbo,
Gpt35Turbo_0301,
Gpt4,
Gpt4_32k,
Gpt4_0314,
Gpt4_32k_0314,
Custom(&'static str),
}
Expand description
The engine version for ChatGPT
Variants§
Gpt35Turbo
Standard engine: gpt-3.5-turbo
Gpt35Turbo_0301
Different version of standard engine: gpt-3.5-turbo-0301
Gpt4
Base GPT-4 model: gpt-4
Gpt4_32k
Version of GPT-4, able to remember 32,000 tokens: gpt-4-32k
Gpt4_0314
Different version of GPT-4: gpt-4-0314
Gpt4_32k_0314
Different version of GPT-4, able to remember 32,000 tokens: gpt-4-32k-0314
Custom(&'static str)
Custom (or new/unimplemented) version of ChatGPT
Trait Implementations§
Source§impl AsRef<str> for ChatGPTEngine
impl AsRef<str> for ChatGPTEngine
Source§impl Clone for ChatGPTEngine
impl Clone for ChatGPTEngine
Source§fn clone(&self) -> ChatGPTEngine
fn clone(&self) -> ChatGPTEngine
Returns a duplicate 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 Debug for ChatGPTEngine
impl Debug for ChatGPTEngine
Source§impl Default for ChatGPTEngine
impl Default for ChatGPTEngine
Source§fn default() -> ChatGPTEngine
fn default() -> ChatGPTEngine
Returns the “default value” for a type. Read more
Source§impl Display for ChatGPTEngine
impl Display for ChatGPTEngine
Source§impl PartialEq for ChatGPTEngine
impl PartialEq for ChatGPTEngine
Source§impl PartialOrd for ChatGPTEngine
impl PartialOrd for ChatGPTEngine
Source§impl Serialize for ChatGPTEngine
impl Serialize for ChatGPTEngine
impl Copy for ChatGPTEngine
impl StructuralPartialEq for ChatGPTEngine
Auto Trait Implementations§
impl Freeze for ChatGPTEngine
impl RefUnwindSafe for ChatGPTEngine
impl Send for ChatGPTEngine
impl Sync for ChatGPTEngine
impl Unpin for ChatGPTEngine
impl UnwindSafe for ChatGPTEngine
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