A powerful Django-based document retrieval system leveraging cutting-edge technologies including LangChain, FAISS, and Groq for intelligent document processing and querying.
- π€ Seamless Document Upload and Processing
- π§© Advanced Text Splitting and Vectorization
- π€ Intelligent Querying with Groq LLM
- π CORS-Enabled API Endpoints
Before you begin, ensure you have the following installed:
- Python 3.8+
- Django
- Node.js and npm
- Ollama
- React
git clone https://github.com/your-username/document-retrieval-system.git
cd document-retrieval-system# Navigate to the Django project directory
cd document_retrival
# Create a virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
# Install Python dependencies
pip install -r requirements.txt
# Install Ollama
# Visit https://ollama.ai/ for installation instructions specific to your OS# Navigate to the frontend directory
cd ../document-retrieval-frontend
# Install npm packages
npm install
npm install react-iconsOpen 4 separate terminal windows and run the following commands:
cd document_retrival
python manage.py runserverollama serveollama pull llama2cd document-retrieval-frontend
$env:NODE_OPTIONS="--openssl-legacy-provider"
npm startContributions are welcome! Please feel free to submit a Pull Request.
[Add your license information here]
- Django
- LangChain
- FAISS
- Groq
- Ollama