This project loads documents into a Cosmos DB for MongoDB VCore Vector Store for use by the AI Travel Agent.
- Integration of LangChain Loaders for seamless document loading into Cosmos DB for MongoDB VCore Vector Store.
- Demonstrates how to set up and configure the environment for document loading tasks.
- Azure subscription for deploying Cosmos DB for MongoDB VCore and Azure Storage Account.
- Python environment with LangChain and Azure SDK installed.
- Basic knowledge of MongoDB and Azure Cosmos DB
- Create a new 'free-tire' Azure Cosmos DB for MongoDB vCore Resourcein your Azure subscription.
- Clone the repository to your local machine.
- Create .env file and populate:
- OPENAI_API_KEY=''
- MONGO_CONNECTION_STRING=''
- Create pythonn env:
python -m venv venv
- Install Requirements:
venv\Scripts\activate
python -m pip install -r requirements.txt
- Load sample documents main.py
python main.py