This sample application allows you to ask natural language questions of any PDF document you upload. It combines the text generation and analysis capabilities of a Large Language Model (LLM) with a vector search of the document content.
Index | Description |
---|---|
High Level Architecture | High level overview illustrating component interactions |
Deployment | How to deploy the project |
User Guide | The working solution |
Directories | General project directory structure |
Changelog | Any changes post publish |
Credits | Meet the team behind the solution |
License | License details |
The following architecture diagram illustrates the various AWS components utilized to deliver the solution. For an in-depth explanation of the frontend and backend stacks, please look at the Architecture Deep Dive.
To deploy this solution, please follow the steps laid out in the Deployment Guide
Please refer to the Web App User Guide for instructions on navigating the web app interface.
├── backend
│ ├── bin
│ ├── layers
│ ├── lib
│ └── src
├── docs
└── frontend
├── public
└── src
├── common
├── components
└── routes
/backend
: Contains the deployment code for the app's AWS infrastructure/bin
: Contains the instantiation of CDK stack/layers
: Contains the required layers for lambda functions/lib
: Contains the deployment code for all infrastructure stacks/src
: Contains lambda functions
/docs
: Contains documentation for the application/frontend
: Contains the user interface of the application/public
: public assets used in the application/src/common
: Contains shared components used in the application/src/components
: Contains components used in the application/src/routes
: Contains pages comprising the application's interface
N/A
This application was architected and developed by David Mwita and Arshia Moghimi, with project support by Miranda Newell. Thanks to the UBC Cloud Innovation Centre Technical and Project Management teams for their guidance and support.
This was based on work from ServerlessPDFChat.
This project is distributed under the MIT License.