React (https://github.com/facebook/create-react-app)
GPT (https://platform.openai.com/docs/api-reference/chat)
Langchain (https://python.langchain.com/docs/tutorials/)
Express.js (https://expressjs.com/en/4x/api.html)
project/
│
├── server/
│ ├── server.js
│ └── chat.js
│
└── src/
├── App.js
└── components/
├── ChatComponent.js
├── PdfUploader.js
└── RenderQA.js
To run this locally, you will run both the server and the frontend, each using different port.
npm install
cd server
npm install
cd ..
npm run dev