Struct aws_sdk_qbusiness::types::TopicConfiguration
source · #[non_exhaustive]pub struct TopicConfiguration {
pub name: String,
pub description: Option<String>,
pub example_chat_messages: Option<Vec<String>>,
pub rules: Vec<Rule>,
}Expand description
The topic specific controls configured for an Amazon Q application.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringA name for your topic control configuration.
description: Option<String>A description for your topic control configuration. Use this outline how the large language model (LLM) should use this topic control configuration.
example_chat_messages: Option<Vec<String>>A list of example phrases that you expect the end user to use in relation to the topic.
rules: Vec<Rule>Rules defined for a topic configuration.
Implementations§
source§impl TopicConfiguration
impl TopicConfiguration
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for your topic control configuration. Use this outline how the large language model (LLM) should use this topic control configuration.
sourcepub fn example_chat_messages(&self) -> &[String]
pub fn example_chat_messages(&self) -> &[String]
A list of example phrases that you expect the end user to use in relation to the topic.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .example_chat_messages.is_none().
source§impl TopicConfiguration
impl TopicConfiguration
sourcepub fn builder() -> TopicConfigurationBuilder
pub fn builder() -> TopicConfigurationBuilder
Creates a new builder-style object to manufacture TopicConfiguration.
Trait Implementations§
source§impl Clone for TopicConfiguration
impl Clone for TopicConfiguration
source§fn clone(&self) -> TopicConfiguration
fn clone(&self) -> TopicConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TopicConfiguration
impl Debug for TopicConfiguration
source§impl PartialEq for TopicConfiguration
impl PartialEq for TopicConfiguration
source§fn eq(&self, other: &TopicConfiguration) -> bool
fn eq(&self, other: &TopicConfiguration) -> bool
self and other values to be equal, and is used
by ==.