:doc:`QBusiness <../../qbusiness>` / Paginator / GetChatControlsConfiguration

****************************
GetChatControlsConfiguration
****************************



.. py:class:: QBusiness.Paginator.GetChatControlsConfiguration

  ::

    
    paginator = client.get_paginator('get_chat_controls_configuration')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`QBusiness.Client.get_chat_controls_configuration`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GetChatControlsConfiguration>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          applicationId='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type applicationId: string
    :param applicationId: **[REQUIRED]** 

      The identifier of the application for which the chat controls are configured.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax**

      
      ::

        {
            'responseScope': 'ENTERPRISE_CONTENT_ONLY'|'EXTENDED_KNOWLEDGE_ENABLED',
            'orchestrationConfiguration': {
                'control': 'ENABLED'|'DISABLED'
            },
            'blockedPhrases': {
                'blockedPhrases': [
                    'string',
                ],
                'systemMessageOverride': 'string'
            },
            'topicConfigurations': [
                {
                    'name': 'string',
                    'description': 'string',
                    'exampleChatMessages': [
                        'string',
                    ],
                    'rules': [
                        {
                            'includedUsersAndGroups': {
                                'userIds': [
                                    'string',
                                ],
                                'userGroups': [
                                    'string',
                                ]
                            },
                            'excludedUsersAndGroups': {
                                'userIds': [
                                    'string',
                                ],
                                'userGroups': [
                                    'string',
                                ]
                            },
                            'ruleType': 'CONTENT_BLOCKER_RULE'|'CONTENT_RETRIEVAL_RULE',
                            'ruleConfiguration': {
                                'contentBlockerRule': {
                                    'systemMessageOverride': 'string'
                                },
                                'contentRetrievalRule': {
                                    'eligibleDataSources': [
                                        {
                                            'indexId': 'string',
                                            'dataSourceId': 'string'
                                        },
                                    ]
                                }
                            }
                        },
                    ]
                },
            ],
            'creatorModeConfiguration': {
                'creatorModeControl': 'ENABLED'|'DISABLED'
            },
            'hallucinationReductionConfiguration': {
                'hallucinationReductionControl': 'ENABLED'|'DISABLED'
            },
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **responseScope** *(string) --* 

          The response scope configured for a Amazon Q Business 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.

          
        

        - **orchestrationConfiguration** *(dict) --* 

          The chat response orchestration settings for your application.

           

          .. note::

            

            Chat orchestration is optimized to work for English language content. For more details on language support in Amazon Q Business, see `Supported languages <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/supported-languages.html>`__.

            

          
          

          - **control** *(string) --* 

            Information about whether chat orchestration is enabled or disabled for an Amazon Q Business application.

            
      
        

        - **blockedPhrases** *(dict) --* 

          The phrases blocked from chat by your chat control configuration.

          
          

          - **blockedPhrases** *(list) --* 

            A list of phrases blocked from a Amazon Q Business web experience chat.

             

            .. note::

              

              Each phrase can contain a maximum of 36 characters. The list can contain a maximum of 20 phrases.

              

            
            

            - *(string) --* 
        
          

          - **systemMessageOverride** *(string) --* 

            The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.

            
      
        

        - **topicConfigurations** *(list) --* 

          The topic specific controls configured for a Amazon Q Business application.

          
          

          - *(dict) --* 

            The topic specific controls configured for an Amazon Q Business application.

            
            

            - **name** *(string) --* 

              A name for your topic control configuration.

              
            

            - **description** *(string) --* 

              A description for your topic control configuration. Use this to outline how the large language model (LLM) should use this topic control configuration.

              
            

            - **exampleChatMessages** *(list) --* 

              A list of example phrases that you expect the end user to use in relation to the topic.

              
              

              - *(string) --* 
          
            

            - **rules** *(list) --* 

              Rules defined for a topic configuration.

              
              

              - *(dict) --* 

                Guardrail rules for an Amazon Q Business application. Amazon Q Business supports only one rule at a time.

                
                

                - **includedUsersAndGroups** *(dict) --* 

                  Users and groups to be included in a rule.

                  
                  

                  - **userIds** *(list) --* 

                    The user ids associated with a topic control rule.

                    
                    

                    - *(string) --* 
                
                  

                  - **userGroups** *(list) --* 

                    The user group names associated with a topic control rule.

                    
                    

                    - *(string) --* 
                
              
                

                - **excludedUsersAndGroups** *(dict) --* 

                  Users and groups to be excluded from a rule.

                  
                  

                  - **userIds** *(list) --* 

                    The user ids associated with a topic control rule.

                    
                    

                    - *(string) --* 
                
                  

                  - **userGroups** *(list) --* 

                    The user group names associated with a topic control rule.

                    
                    

                    - *(string) --* 
                
              
                

                - **ruleType** *(string) --* 

                  The type of rule.

                  
                

                - **ruleConfiguration** *(dict) --* 

                  The configuration information for a rule.

                  .. note::    This is a Tagged Union structure. Only one of the     following top level keys will be set: ``contentBlockerRule``, ``contentRetrievalRule``.     If a client receives an unknown member it will     set ``SDK_UNKNOWN_MEMBER`` as the top level key,     which maps to the name or tag of the unknown     member. The structure of ``SDK_UNKNOWN_MEMBER`` is     as follows::

                                    'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}


                
                  

                  - **contentBlockerRule** *(dict) --* 

                    A rule for configuring how Amazon Q Business responds when it encounters a a blocked topic.

                    
                    

                    - **systemMessageOverride** *(string) --* 

                      The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.

                      
                
                  

                  - **contentRetrievalRule** *(dict) --* 

                    Rules for retrieving content from data sources connected to a Amazon Q Business application for a specific topic control configuration.

                    
                    

                    - **eligibleDataSources** *(list) --* 

                      Specifies data sources in a Amazon Q Business application to use for content generation.

                      
                      

                      - *(dict) --* 

                        The identifier of the data source Amazon Q Business will generate responses from.

                        
                        

                        - **indexId** *(string) --* 

                          The identifier of the index the data source is attached to.

                          
                        

                        - **dataSourceId** *(string) --* 

                          The identifier of the data source.

                          
                    
                  
                
              
            
          
        
      
        

        - **creatorModeConfiguration** *(dict) --* 

          The configuration details for ``CREATOR_MODE``.

          
          

          - **creatorModeControl** *(string) --* 

            Information about whether creator mode is enabled or disabled for an Amazon Q Business application.

            
      
        

        - **hallucinationReductionConfiguration** *(dict) --* 

          The hallucination reduction settings for your application.

          
          

          - **hallucinationReductionControl** *(string) --* 

            Controls whether hallucination reduction has been enabled or disabled for your application. The default status is ``DISABLED``.

            
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    