Skip to content

UBC-CIC/document-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Document Chat

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

High-Level Architecture

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.

Alt text

Deployment Guide

To deploy this solution, please follow the steps laid out in the Deployment Guide

User Guide

Please refer to the Web App User Guide for instructions on navigating the web app interface.

Directories

├── backend
│   ├── bin
│   ├── layers
│   ├── lib
│   └── src
├── docs
└── frontend
    ├── public
    └── src
        ├── common
        ├── components
        └── routes
  1. /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
  2. /docs: Contains documentation for the application
  3. /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

Changelog

N/A

Credits

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.

License

This project is distributed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published