This project aims to demonstrate the process of loading documents into a Cosmos DB for MongoDB VCore Vector Store using LangChain Loaders, while also loading images into an Azure Storage Account.
- Integration of LangChain Loaders for seamless document loading into Cosmos DB for MongoDB VCore Vector Store.
- Utilization of Azure Storage Account for efficient storage and retrieval of images associated with the documents.
- Demonstrates how to set up and configure the environment for document and image 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, Azure Cosmos DB, and Azure Storage concepts.
- Set up Cosmos DB for MongoDB VCore and Azure Storage Account in your Azure subscription.
- Clone the repository to your local machine.
- Create .env file and populate:
- OPENAI_API_KEY=''
- MONGO_CONNECTION_STRING=''
- AZURE_STORAGE_CONNECTION_STRING=''
- Create pythonn env:
python -m venv venv
- Install Requirements:
venv\Scripts\activate
python -m pip install -r requirements.txt
- Load sample docuemtns vectorstoreloader.py
python vectorstoreloader.py
This project is licensed under the MIT License, granting permission for commercial and non-commercial use with proper attribution.
For any questions or issues, please open an issue on GitHub or reach out to the project maintainers.
This project is provided for educational and demonstration purposes only. Use at your own risk.