Struct kalosm_language_model::Gpt3_5Builder
source · pub struct Gpt3_5Builder { /* private fields */ }
Expand description
A builder for gpt-3.5-turbo
Implementations§
source§impl Gpt3_5Builder
impl Gpt3_5Builder
sourcepub fn with_api_key(self, api_key: &str) -> Self
pub fn with_api_key(self, api_key: &str) -> Self
Sets the API key for the builder.
sourcepub fn with_base_url(self, base_url: &str) -> Self
pub fn with_base_url(self, base_url: &str) -> Self
Set the base URL of the API.
sourcepub fn with_organization_id(self, organization_id: &str) -> Self
pub fn with_organization_id(self, organization_id: &str) -> Self
Set the organization ID for the builder.
Trait Implementations§
source§impl Debug for Gpt3_5Builder
impl Debug for Gpt3_5Builder
source§impl Default for Gpt3_5Builder
impl Default for Gpt3_5Builder
source§fn default() -> Gpt3_5Builder
fn default() -> Gpt3_5Builder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Gpt3_5Builder
impl Send for Gpt3_5Builder
impl Sync for Gpt3_5Builder
impl Unpin for Gpt3_5Builder
impl UnwindSafe for Gpt3_5Builder
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