You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,16 @@
2
2
3
3
This project demonstrates how to chat with your architecture using Amazon Bedrock's Converse API, tool use, and a knowledge base. Implemented in Python, the demo allows users to analyze architecture diagrams, evaluate effectiveness, get recommendations, and make informed decisions about their system architecture.
4
4
5
+
This project accompanies the following resources:
6
+
- Blog post: [A conversation with your architecture](https://community.aws/content/2qM2qCmPCaAByW0bDVR7OdBo1dF/a-conversation-with-your-architecture)
7
+
- Video series:
8
+
-[Episode 1: Build a Python App to Chat with Architecture Diagrams](https://www.youtube.com/watch?v=34OV3JDvveg)
9
+
- Episode 2: Incorporate real-time data in your architecture diagram analysis with tool use (coming soon)
10
+
- Episode 3: Incorporate custom data in your architecture diagram analysis with a knowledge base (coming soon)
11
+
- Workshop: [Harnessing generative AI to create and understand architecture diagrams ](https://catalog.workshops.aws/generative-ai-architecture-diagrams)
12
+
13
+
## Overview
14
+
5
15
The application interacts with a foundation model on Amazon Bedrock to provide information based on an architecture diagram and user input. It utilizes three custom tools to gather information:
6
16
7
17
1. Audit Info Tool: Provides audit information about a system based on the system name inferred from the architecture diagram file name.
@@ -43,7 +53,13 @@ To run this demo, you'll need a few bits set up first:
43
53
44
54
### Setup
45
55
46
-
Set up your custom environmeng variables by creating a `.env` file in the project root directory with the following content:
56
+
#### Amazon Bedrock Knowledge Base
57
+
58
+
You can set up a knowledge base using [these instructions](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-create.html). Note that this can result in charges to your AWS account.
59
+
60
+
#### Environment Variables
61
+
62
+
Set up your custom environment variables by creating a `.env` file in the project root directory with the following content:
Be sure to tear down any AWS resources you're not using after working through this demo as they may result in charges to your AWS account. The resources to destroy are:
86
+
87
+
- S3 bucket for your knowledge base data source
88
+
- Amazon Bedrock Knowledge Base
89
+
67
90
### Bring your own diagram
68
91
69
92
Want to chat with your own diagram? Drop an image file (jpg, jpeg, or png) into the `demo` folder and rerun the app. When prompted, enter the full name (excluding the path) of that diagram to chat with.
@@ -78,6 +101,8 @@ Below are some sample queries you could use to chat with an architecture diagram
78
101
- What improvements should be made to the resiliency of this architecture?
79
102
- Convert the data flow from this architecture into a Mermaid formatted sequence diagram.
80
103
- What are the quotas or limits in this architecture?
0 commit comments