Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 571 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 571 Bytes

QA Application with Bedrock and Knowledge Bases

This repository contains resources to deploy a demo Q&A application using knowledge bases. A streamlit web application will be deployed to ECS.

Deploy Infra

Install the needed dependencies

npm install

Deploy the CDK Infrastructure

cdk deploy

Sync KB

2 outputs will be generated from cloudformation

DataSourceId 
KnowledgeBaseId

These IDs can be used to sync your KB. NOTE: This will have to be run prior to first app use

./scripts/sync-kb.sh ${KnowledgeBaseId} ${DataSourceId}