BogdanGPT is a chatbot that allows users to ask questions based on documents uploaded to the server, using OpenAI's artificial intelligence. The chatbot intelligently processes the content of the provided documents to answer user queries accurately and efficiently. The project is built using Express.js and Next.js. To continue using this project, you will need to add your OpenAI organization and API keys in an environment file.
-
Backend:
Navigate to the
backendandfrontenddirectory and run the following command:npm install
-
In the backend directory, start the backend server by running:
npm start
-
In the frontend directory, start the frontend development server by running:
npm run dev
-
After starting both the backend and frontend, you can access the application by navigating to
http://localhost:3000in your web browser.