This applications helps to create a Chat Application with a bot which knows about your uploaded PDF. We use RAG (Retrieval Augmented Generation) Framework for this purpose.
The Detailed tutorial is present here
AWS Backend can be deployed using
cdk deploy --all
Frontend is a simple streamlit app to utilize the API gateway endpoints.
The frontend is present at src/ui
folder
Backend comprises of multiple components:
- Couchbase Eventing -
src/cb_eventing
- AWS Lambdas for Ingestion and Chatting -
src/lambdas
- AWS CDK for Infrastructure -
cdk.json
,chatCDK
,ingestCDK