pub enum ChatCompleteModel {
Gpt3Turbo,
Gpt3TurboInstruct,
Gpt4Turbo,
Gpt4TurboVision,
}Variants§
Gpt3Turbo
The default model. Currently, this is the gpt-3.5-turbo-1106 model.
Gpt3TurboInstruct
GPT-3.5 turbo model with instruct capability.
Gpt4Turbo
The latest GPT4 model. Currently, this is the gpt-4-1106-preview model.
Gpt4TurboVision
The latest GPT4 model with vision capability. Currently, this is the gpt-4-1106-vision-preview model.
Trait Implementations§
Source§impl Clone for ChatCompleteModel
impl Clone for ChatCompleteModel
Source§fn clone(&self) -> ChatCompleteModel
fn clone(&self) -> ChatCompleteModel
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 moreimpl Copy for ChatCompleteModel
Source§impl Debug for ChatCompleteModel
impl Debug for ChatCompleteModel
Source§impl Default for ChatCompleteModel
impl Default for ChatCompleteModel
Source§fn default() -> ChatCompleteModel
fn default() -> ChatCompleteModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatCompleteModel
impl<'de> Deserialize<'de> for ChatCompleteModel
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
Source§impl Display for ChatCompleteModel
impl Display for ChatCompleteModel
Source§impl EnumMessage for ChatCompleteModel
impl EnumMessage for ChatCompleteModel
fn get_message(&self) -> Option<&'static str>
fn get_detailed_message(&self) -> Option<&'static str>
Source§fn get_documentation(&self) -> Option<&'static str>
fn get_documentation(&self) -> Option<&'static str>
Get the doc comment associated with a variant if it exists.
fn get_serializations(&self) -> &'static [&'static str]
impl Eq for ChatCompleteModel
Source§impl FromStr for ChatCompleteModel
impl FromStr for ChatCompleteModel
Source§impl IntoEnumIterator for ChatCompleteModel
impl IntoEnumIterator for ChatCompleteModel
type Iterator = ChatCompleteModelIter
fn iter() -> ChatCompleteModelIter ⓘ
Source§impl PartialEq for ChatCompleteModel
impl PartialEq for ChatCompleteModel
Source§fn eq(&self, other: &ChatCompleteModel) -> bool
fn eq(&self, other: &ChatCompleteModel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatCompleteModel
impl Serialize for ChatCompleteModel
impl StructuralPartialEq for ChatCompleteModel
Source§impl TryFrom<&str> for ChatCompleteModel
impl TryFrom<&str> for ChatCompleteModel
Source§impl VariantNames for ChatCompleteModel
impl VariantNames for ChatCompleteModel
Auto Trait Implementations§
impl Freeze for ChatCompleteModel
impl RefUnwindSafe for ChatCompleteModel
impl Send for ChatCompleteModel
impl Sync for ChatCompleteModel
impl Unpin for ChatCompleteModel
impl UnsafeUnpin for ChatCompleteModel
impl UnwindSafe for ChatCompleteModel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.