- Clone the repository.
- Navigate to your repository directory: ‘cd your-repository’.
- Create a virtual environment: 'pipenv shell'.
- Install the required packages: 'pipenv install'.
- Set up environment variables:
Create a
.env
file in the root directory of your project and add your Pinecone API key, OpenAI API keyPINECONE_API_KEY= OPENAI_API_KEY=
- Fetch data from the MongoDB website: mkdir mongodb-docs wget -r -P mongodb-docs -E https://www.mongodb.com/docs/manual
- Pre-process the data by running the process_data.py script. You should see the following message if successful: Going to add xxx to Pinecone Loading to vectorstore done
- Start the app: streamlit run main.py.
I would like NOT to share the project on public platforms.