Enum chatgpt::config::ChatGPTEngine
source · 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 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 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<ChatGPTEngine> for ChatGPTEngine
impl PartialEq<ChatGPTEngine> for ChatGPTEngine
source§fn eq(&self, other: &ChatGPTEngine) -> bool
fn eq(&self, other: &ChatGPTEngine) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ChatGPTEngine> for ChatGPTEngine
impl PartialOrd<ChatGPTEngine> for ChatGPTEngine
source§fn partial_cmp(&self, other: &ChatGPTEngine) -> Option<Ordering>
fn partial_cmp(&self, other: &ChatGPTEngine) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ChatGPTEngine
impl Serialize for ChatGPTEngine
impl Copy for ChatGPTEngine
impl StructuralPartialEq for ChatGPTEngine
Auto Trait Implementations§
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