#[non_exhaustive]pub struct GenAiAdvancedFeaturesConfig {
pub rag_config: Option<RagConfig>,
/* private fields */
}Available on crate feature
endpoint-service only.Expand description
Configuration for GenAiAdvancedFeatures.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rag_config: Option<RagConfig>Configuration for Retrieval Augmented Generation feature.
Implementations§
Source§impl GenAiAdvancedFeaturesConfig
impl GenAiAdvancedFeaturesConfig
pub fn new() -> Self
Sourcepub fn set_rag_config<T>(self, v: T) -> Self
pub fn set_rag_config<T>(self, v: T) -> Self
Sets the value of rag_config.
Sourcepub fn set_or_clear_rag_config<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_rag_config<T>(self, v: Option<T>) -> Self
Sets or clears the value of rag_config.
Trait Implementations§
Source§impl Clone for GenAiAdvancedFeaturesConfig
impl Clone for GenAiAdvancedFeaturesConfig
Source§fn clone(&self) -> GenAiAdvancedFeaturesConfig
fn clone(&self) -> GenAiAdvancedFeaturesConfig
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 GenAiAdvancedFeaturesConfig
impl Debug for GenAiAdvancedFeaturesConfig
Source§impl Default for GenAiAdvancedFeaturesConfig
impl Default for GenAiAdvancedFeaturesConfig
Source§fn default() -> GenAiAdvancedFeaturesConfig
fn default() -> GenAiAdvancedFeaturesConfig
Returns the “default value” for a type. Read more
impl StructuralPartialEq for GenAiAdvancedFeaturesConfig
Auto Trait Implementations§
impl Freeze for GenAiAdvancedFeaturesConfig
impl RefUnwindSafe for GenAiAdvancedFeaturesConfig
impl Send for GenAiAdvancedFeaturesConfig
impl Sync for GenAiAdvancedFeaturesConfig
impl Unpin for GenAiAdvancedFeaturesConfig
impl UnwindSafe for GenAiAdvancedFeaturesConfig
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