Skip to content

Commit 51d7cc9

Browse files
iakov-awsschniber
andauthored
Add Support Cases Amazon Bedrock Plugin (#263)
Co-authored-by: Samuel CHNIBER <[email protected]>
1 parent 10faf7b commit 51d7cc9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+901
-60
lines changed

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
pip install cfn-flip pylint urllib3 boto3 bandit
2323
- name: Pylint all
2424
run: |
25-
python data-collection/utils/pylint.py
25+
python utils/pylint.py

.github/workflows/security-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
pip install --no-cache-dir packaging cyclonedx-python-lib=='5.2.0' #https://github.com/bridgecrewio/checkov/issues/5841
3131
- name: Scan all templates
3232
run: |
33-
data-collection/utils/lint.sh
33+
utils/lint.sh

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
This repostory contains following elements:
55
* [data-collection](/data-collection) - a set of Cloud Formation Templates for collecting data from Management and Linked Accounts.
6+
* [case-summarization](/case-summarization) - a Cloud Formation Template for deploying the AWS Support Case Summarization plugin that offers the capability to summarize cases through Generative AI powered by Amazon Bedrock.
67

78
## Support and Contribution
89

case-summarization/README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
## AWS Support Case Summarization Plugin
2+
3+
### About
4+
5+
This plugin is aimed at augmenting the exerience of the AWS Support Cases Radar which is part of the [Cloud Intelligence Dashboards Framework](https://catalog.workshops.aws/awscid) by leveraging Generative AI powered by Amazon Bedrock to summarize AWS Support Case Communications and help customers achieve operation excellence.
6+
7+
This plugin contains the following elements:
8+
* [case-summarization](README.md) - a CloudFormation Template for deploying the AWS Support Case Summarization Plugin that integrates seamlessly with the Data Collection Framework.
9+
10+
### Architecture
11+
12+
![Architecture](/plugins/support-case-summarization/images/archi.png)
13+
14+
### Reasonable Defaults
15+
16+
This plugin comes with the following reasonable defaults that can be overriden through the parameters exposed by the CloudFormation template:
17+
18+
| Parameter | Description | Default |
19+
| --- | --- | --- |
20+
| BedrockRegion | The AWS Region from which the Summarization is performed | us-east-1 |
21+
| Instructions | Additional instructions passed to the Large Language Model for the summarization process customizability | '' |
22+
| Provider | Large Language Model Provider for the summarization process customizability | Anthropic |
23+
| FoundationModel | Foundation Model to be used for the summarization process | Claude 3.5 Sonnet |
24+
| InferenceType | Summarization process Inference Type | 'ON_DEMAND' |
25+
| Temperature | Summarization process Temperature | 0 |
26+
| MaxTokens | Summarization process Maximum Tokens | 8096 |
27+
| MaxRetries | Summarization process Maximum Retries | 30 |
28+
| Timeout | Summarization process Timeout in seconds | 60 |
29+
| BatchSize | Summarization process Batch Size for parallel processing | 1 |
30+
31+
### Installation
32+
33+
#### 1. Enable Amazon Bedrock Target Model Access In the Data Collection Account
34+
35+
- See [Add or remove access to Amazon Bedrock foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access-modify.html) for guidance.
36+
37+
#### 2. Deploy the AWS Support Case Summarization Stack In the Data Collection Account
38+
39+
* <kbd> <br> [Launch Stack >>](https://console.aws.amazon.com/cloudformation/home#/stacks/create/review?&templateURL=https://aws-managed-cost-intelligence-dashboards-us-east-1.s3.amazonaws.com/cfn/plugins/support-case-summarization/deploy/case-summarization.yaml&stackName=CidSupportCaseSummarizationStack&param_BedrockRegion=REPLACE%20WITH%20TARGET%20REGION)  <br> </kbd>
40+
41+
## Support and Contribution
42+
43+
See [CONTRIBUTING](CONTRIBUTING.md) for more information.
44+
45+
## Security
46+
47+
See [SECURITY](SECURITY.md) for more information.
48+
49+
## Limitations
50+
51+
As of today, the AWS Support Cases Summarization plugin does not make use of Amazon Bedrock Guardrails. See [issue](https://github.com/run-llama/llama_index/issues/17217).
52+
53+
## License
54+
55+
This project is licensed under the Apache-2.0 License.

0 commit comments

Comments
 (0)