Struct aws_sdk_qbusiness::operation::update_chat_controls_configuration::UpdateChatControlsConfigurationInput
source · #[non_exhaustive]pub struct UpdateChatControlsConfigurationInput {
pub application_id: Option<String>,
pub client_token: Option<String>,
pub response_scope: Option<ResponseScope>,
pub blocked_phrases_configuration_update: Option<BlockedPhrasesConfigurationUpdate>,
pub topic_configurations_to_create_or_update: Option<Vec<TopicConfiguration>>,
pub topic_configurations_to_delete: Option<Vec<TopicConfiguration>>,
}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.application_id: Option<String>The identifier of the application for which the chat controls are configured.
client_token: Option<String>A token that you provide to identify the request to update a Amazon Q application chat configuration.
response_scope: Option<ResponseScope>The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.
blocked_phrases_configuration_update: Option<BlockedPhrasesConfigurationUpdate>The phrases blocked from chat by your chat control configuration.
topic_configurations_to_create_or_update: Option<Vec<TopicConfiguration>>The configured topic specific chat controls you want to update.
topic_configurations_to_delete: Option<Vec<TopicConfiguration>>The configured topic specific chat controls you want to delete.
Implementations§
source§impl UpdateChatControlsConfigurationInput
impl UpdateChatControlsConfigurationInput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The identifier of the application for which the chat controls are configured.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A token that you provide to identify the request to update a Amazon Q application chat configuration.
sourcepub fn response_scope(&self) -> Option<&ResponseScope>
pub fn response_scope(&self) -> Option<&ResponseScope>
The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.
sourcepub fn blocked_phrases_configuration_update(
&self
) -> Option<&BlockedPhrasesConfigurationUpdate>
pub fn blocked_phrases_configuration_update( &self ) -> Option<&BlockedPhrasesConfigurationUpdate>
The phrases blocked from chat by your chat control configuration.
sourcepub fn topic_configurations_to_create_or_update(&self) -> &[TopicConfiguration]
pub fn topic_configurations_to_create_or_update(&self) -> &[TopicConfiguration]
The configured topic specific chat controls you want to update.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .topic_configurations_to_create_or_update.is_none().
sourcepub fn topic_configurations_to_delete(&self) -> &[TopicConfiguration]
pub fn topic_configurations_to_delete(&self) -> &[TopicConfiguration]
The configured topic specific chat controls you want to delete.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .topic_configurations_to_delete.is_none().
source§impl UpdateChatControlsConfigurationInput
impl UpdateChatControlsConfigurationInput
sourcepub fn builder() -> UpdateChatControlsConfigurationInputBuilder
pub fn builder() -> UpdateChatControlsConfigurationInputBuilder
Creates a new builder-style object to manufacture UpdateChatControlsConfigurationInput.
Trait Implementations§
source§impl Clone for UpdateChatControlsConfigurationInput
impl Clone for UpdateChatControlsConfigurationInput
source§fn clone(&self) -> UpdateChatControlsConfigurationInput
fn clone(&self) -> UpdateChatControlsConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateChatControlsConfigurationInput
impl PartialEq for UpdateChatControlsConfigurationInput
source§fn eq(&self, other: &UpdateChatControlsConfigurationInput) -> bool
fn eq(&self, other: &UpdateChatControlsConfigurationInput) -> bool
self and other values to be equal, and is used
by ==.