#[non_exhaustive]pub struct KnowledgeBaseConfiguration {
pub type: KnowledgeBaseType,
pub vector_knowledge_base_configuration: Option<VectorKnowledgeBaseConfiguration>,
}Expand description
Configures a bedrock knowledge base.
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.type: KnowledgeBaseTypeThe type of a knowledge base.
vector_knowledge_base_configuration: Option<VectorKnowledgeBaseConfiguration>Configurations for a vector knowledge base.
Implementations§
source§impl KnowledgeBaseConfiguration
impl KnowledgeBaseConfiguration
sourcepub fn type(&self) -> &KnowledgeBaseType
pub fn type(&self) -> &KnowledgeBaseType
The type of a knowledge base.
sourcepub fn vector_knowledge_base_configuration(
&self
) -> Option<&VectorKnowledgeBaseConfiguration>
pub fn vector_knowledge_base_configuration( &self ) -> Option<&VectorKnowledgeBaseConfiguration>
Configurations for a vector knowledge base.
source§impl KnowledgeBaseConfiguration
impl KnowledgeBaseConfiguration
sourcepub fn builder() -> KnowledgeBaseConfigurationBuilder
pub fn builder() -> KnowledgeBaseConfigurationBuilder
Creates a new builder-style object to manufacture KnowledgeBaseConfiguration.
Trait Implementations§
source§impl Clone for KnowledgeBaseConfiguration
impl Clone for KnowledgeBaseConfiguration
source§fn clone(&self) -> KnowledgeBaseConfiguration
fn clone(&self) -> KnowledgeBaseConfiguration
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 KnowledgeBaseConfiguration
impl Debug for KnowledgeBaseConfiguration
source§impl PartialEq for KnowledgeBaseConfiguration
impl PartialEq for KnowledgeBaseConfiguration
source§fn eq(&self, other: &KnowledgeBaseConfiguration) -> bool
fn eq(&self, other: &KnowledgeBaseConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for KnowledgeBaseConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for KnowledgeBaseConfiguration
impl Send for KnowledgeBaseConfiguration
impl Sync for KnowledgeBaseConfiguration
impl Unpin for KnowledgeBaseConfiguration
impl UnwindSafe for KnowledgeBaseConfiguration
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.