Modifying configuration settings

AgentX uses AWS Systems Manager Parameter Store to hold default and custom configuration settings. You can view and edit these settings using the new Settings menu in the content designer.

Explore the available configuration settings, and override the defaults to configure AgentX’s customize keyword filtering, answer field scoring, messages, redaction from logs and metrics (ENABLE_REDACTING and REDACTING_REGEX), and more. You can also start the debug mode (ENABLE_DEBUG_RESPONSES), initiate fuzzy matching (ES_USE_FUZZY_MATCH), and experiment with score boosting for exact phrase matches (ES_PHRASE_BOOST).

NOTE: Custom settings will not be replaced when upgrading AgentX.

Configure Keyword Filters Feature

  1. Log in to the content designer, select the tools menu ( ☰ ), and then choose Settings.

  2. Change the value of the setting ES_USE_KEYWORD_FILTERS from true to false.

  3. Scroll to the bottom and select Save. This turns off the new keyword filters feature.

You can further customize how the keyword filters feature works by changing the following settings:

  • ES_KEYWORD_SYNTAX_TYPES: A list of tokens representing parts of speech identified by Amazon Comprehend.

  • ES_MINIMUM_SHOULD_MATCH: A query rule used to determine how many keywords must match an item question in a valid answer.

Configure Personally Identifiable Information (PII) Rejection and Redaction

AgentX can now detect and redact Personally Identifiable Information (PII) using Amazon Comprehend and regular expressions.

If ENABLE_REDACTING is set to true, the Comprehend detected PII entities will also be redacted from Amazon CloudWatch logs and Amazon OpenSearch logs.