Personalize ChatGPT using LangChain, and get answers from your own documents and knowledge base.
cd backend
npm install
Copy the example env file and add your OpenAI API key:
cp backend/env/development.env.example backend/env/development.env
Then edit backend/env/development.env and set your OPEN_AI_API_KEY.
Run the following command to start the server
npm run dev
cd frontend
npm install
Run the following command to start the NextJS server
npm run dev
Access the Chat page at http://localhost:3001/