pub struct ChatkitConfigurationParamArgs { /* private fields */ }Expand description
Builder for ChatkitConfigurationParam.
Implementations§
Source§impl ChatkitConfigurationParamArgs
impl ChatkitConfigurationParamArgs
Sourcepub fn automatic_thread_titling<VALUE: Into<AutomaticThreadTitlingParam>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn automatic_thread_titling<VALUE: Into<AutomaticThreadTitlingParam>>( &mut self, value: VALUE, ) -> &mut Self
Configuration for automatic thread titling. When omitted, automatic thread titling is enabled by default.
Sourcepub fn file_upload<VALUE: Into<FileUploadParam>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn file_upload<VALUE: Into<FileUploadParam>>( &mut self, value: VALUE, ) -> &mut Self
Configuration for upload enablement and limits. When omitted, uploads are disabled by default (max_files 10, max_file_size 512 MB).
Sourcepub fn history<VALUE: Into<HistoryParam>>(&mut self, value: VALUE) -> &mut Self
pub fn history<VALUE: Into<HistoryParam>>(&mut self, value: VALUE) -> &mut Self
Configuration for chat history retention. When omitted, history is enabled by default with no limit on recent_threads (null).
Sourcepub fn build(&self) -> Result<ChatkitConfigurationParam, OpenAIError>
pub fn build(&self) -> Result<ChatkitConfigurationParam, OpenAIError>
Trait Implementations§
Source§impl Clone for ChatkitConfigurationParamArgs
impl Clone for ChatkitConfigurationParamArgs
Source§fn clone(&self) -> ChatkitConfigurationParamArgs
fn clone(&self) -> ChatkitConfigurationParamArgs
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 moreAuto Trait Implementations§
impl Freeze for ChatkitConfigurationParamArgs
impl RefUnwindSafe for ChatkitConfigurationParamArgs
impl Send for ChatkitConfigurationParamArgs
impl Sync for ChatkitConfigurationParamArgs
impl Unpin for ChatkitConfigurationParamArgs
impl UnwindSafe for ChatkitConfigurationParamArgs
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