Ensure you have the following installed before proceeding:
Navigate to the root directory of the project and create a .env file with the following format:
mongo_url=<YOUR_MONGODB_ATLAS_URL>
pinecone_key=<YOUR_PINECONE_API_KEY>
index_host=<YOUR_PINECONE_INDEX_HOST>
OPENAI_API_KEY=<YOUR_OPENAI_API_KEY>Replace the placeholders with your actual credentials.
Run the following command to install the required Python dependencies:
pip install -r requirements.txtStart the backend server using Uvicorn:
uvicorn server:app --reloadChange to the frontend directory:
cd frontendRun the following command to install frontend dependencies:
npm installRun the following command to start the frontend development server:
npm run dev- The application should now be available at
http://localhost:3000