-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #384 from aws-solutions/develop
Update to version v5.1.0
- Loading branch information
Showing
142 changed files
with
16,617 additions
and
6,518 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
# Personally Identifiable Information Rejection | ||
# Personally Identifiable Information Rejection and redaction | ||
|
||
QnABot can now detect Personally Identifiable Information (PII) using [Amazon Comprehend](https://docs.aws.amazon.com/comprehend/latest/dg/how-pii.html) and regular expressions | ||
QnABot can now detect Personally Identifiable Information (PII) using [Amazon Comprehend](https://docs.aws.amazon.com/comprehend/latest/dg/how-pii.html) and regular expressions. | ||
|
||
If ENABLE_REDACTION is set to "true", the Comprehend detected PII entities will also be redacted from Amazon CloudWatch logs and Amazon Opensearch logs. | ||
|
||
![](./settings.png) | ||
|
||
|
||
Setting | Description | | ||
---------|----------| | ||
PII_REJECTION_ENABLED | set to "true" to enable pii rejection | | ||
PII_REJECTION_QUESTION | If PII is found, the user's request (question) will change to this phrase| | ||
PII_REJECTION_WITH_COMPREHEND | Enable's Personal Identifiable Information detection with Amazon Comprehend | | ||
PII_REJECTION_REGEX | Used to find PII based on a regular expression | | ||
PII_REJECTION_IGNORE_TYPES | Do not detect the specified list of [entity types](https://aws.amazon.com/blogs/machine-learning/detecting-and-redacting-pii-using-amazon-comprehend/) | | ||
![settings image](./settings.png) | ||
|
||
|Setting | Type of Value | Description | | ||
--------|---------------|-------------| | ||
| ENABLE_REDACTING | true or false | Enable the system to redact log output | ||
| REDACTING_REGEX | regex expression | Redacts expressions matching regex from logs | ||
| PII_REJECTION_ENABLED | true or false | Enables PII Rejection | ||
| PII_REJECTION_QUESTION | text | If PII is found, the user's request (question) will change to this phrase | ||
| PII_REJECTION_WITH_COMPREHEND: | true or false | Enable's [Personal Identifiable Information](https://aws.amazon.com/blogs/machine-learning/detecting-and-redacting-pii-using-amazon-comprehend/) detection with Amazon Comprehend | ||
| PII_REJECTION_REGEX | regex expression | Used to find PII based on a regex | ||
| PII_REJECTION_ENTITY_TYPES | comma separated list of [PII Entity Categories](https://aws.amazon.com/blogs/machine-learning/detecting-and-redacting-pii-using-amazon-comprehend/) | Only recognize PII entity types in the list | ||
| DISABLE_CLOUDWATCH_LOGGING | true or false | Disable all logging in fulfillment es query handler lambda. does not disable logging from Lambda Hooks or Conditional Chaining Lambda functions |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,39 @@ | ||
# Kendra Web Indexer Integration | ||
# Amazon Kendra Web Crawler Integration | ||
|
||
Please read the [Kendra Integration](../../workshops/kendra/README.md) for instructions about configuring Kendra | ||
Please read the [Amazon Kendra Integration](../../workshops/kendra/README.md) for instructions about configuring Kendra | ||
|
||
QnABot can now index your website with Kendra and answer questions based on what it has found. | ||
QnABot can now crawl your website with Kendra and answer questions based on what it has found. | ||
|
||
Go to the Settings option in the Tools menu | ||
|
||
![Setting](./settings.png) | ||
|
||
1. Enable the indexer by setting _ENABLE_WEB_PAGE_INDEXER_ to true | ||
1. Tell QnABot which web pages to index by specifying a comma separated list of addresses in _KENDRA_INDEXER_URLS_ | ||
1. The indexer can be optionally configured to run on a schedule by setting the _KENDRA_INDEXER_SCHEDULE_ | ||
It supports standard [CloudWatch Events rate syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#RateExpressions) | ||
1. Tell QnABot which Kendra index to use by adding your Kendra IndexId to the setting _KENDRA_WEB_PAGE_INDEX_ | ||
The built in "Web Page Indexer" has been replaced with Kendra's native web crawler data source. | ||
The settings names have been maintained for compatibility. | ||
|
||
After you save your settings, go back to the Tools Menu and then choose **Kendra Web Page Indexing** | ||
| Setting | Valid Values | Description | | ||
|---------|--------------|-------------| | ||
| ENABLE_KENDRA_WEB_INDEXER | true or false | Enables the web crawler | ||
| KENDRA_INDEXER_URLS | comma separated list | List of web addresses QnABot should crawl and [index with Kendra](./kendra_crawler_guide/README.md) | ||
| KENDRA_INDEXER_SCHEDULE | [CloudWatch Rate Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html) | Interval Indexer should crawl | ||
| KENDRA_INDEXER_CRAWL_DEPTH | number | Sets the depth to the number of levels in a website from the seed level that you want to crawl | ||
| KENDRA_INDEXER_CRAWL_MODE | HOST_ONLY \| SUBDOMAINS \| EVERYTHING | Determines which addresses should be crawled | ||
| KENDRA_WEB_PAGE_INDEX | Kendra Index Id | The index to use for the web crawler, a [custom data source](https://docs.aws.amazon.com/kendra/latest/dg/data-source-custom.html) will automatically be added to the specified index. | ||
|
||
![Tools](./tools.png) | ||
After you save your settings, go back to the Tools Menu and then choose **Kendra Web Page Crawler** | ||
|
||
![No Index Dialog](./NoIndexDialog.png) | ||
![Tools](./tools.png) | ||
|
||
If your settings are correct, the first time you choose the option, you should see the following dialog. | ||
![No Index Dialog](./NoIndexDialog.png) | ||
|
||
Just press **Start Indexing** to index your web pages to Kendra. | ||
Just press **Start Crawling** to index your web pages to Amazon Kendra. | ||
|
||
The Content Designer will show you a history of your indexing. | ||
|
||
![Index Dialog](./IndexDialog.png) | ||
|
||
If you are logged into your AWS Account, you can click on "View Web Crawling Errors in CloudWatch" to get the details of | ||
any pages that Amazon Kendra couldn't crawl. | ||
|
||
![CloudWatch](cloudwatch.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.