Quran Verse Scout is an innovative tool designed to help users find specific Quranic verses through context-based searching and provide accurate, non-hallucinated summarizations of Surahs using advanced RAG (Retrieval-Augmented Generation) technology.
- Find Quranic verses by describing their context or meaning
- Utilizes semantic search technology to match context with relevant verses
- Returns the most likely matches from the Quran
- Get concise, accurate summaries of any Surah
- Implements RAG-based solution to prevent hallucinations
- Search Surahs by name or number
- Summaries are generated directly from the verses, ensuring accuracy
- Python 3.8 or higher
- Node.js and npm
- Git
- Clone the repository
git clone https://github.com/yourusername/Quran-Verse-Scout.git
cd Quran-Verse-Scout
- Set up the Backend
Choose either pip or conda for installing Python dependencies:
Using pip:
pip install -r requirements.txt
OR using conda:
conda install --file requirements_conda.txt
- Set up the Frontend
cd react-app
npm install
cd Backend/Bert
python main.py
The backend server will start running on http://localhost:5000
cd react-app
npm run dev
The frontend will be available at http://localhost:5173
Quran-Verse-Scout/
├── Backend/
│ └── Bert/
│ └── main.py
├── react-app/
│ ├── src/
│ └── package.json
├── requirements.txt
└── requirements_conda.txt
The application uses BERT-based semantic search to understand the context of your query and match it with the most relevant verses from the Quran. This allows users to find verses even when they don't know the exact words or location.
The Surah summarizer uses Retrieval-Augmented Generation (RAG) technology to create accurate summaries by:
- Retrieving relevant verses from the Surah
- Generating summaries based solely on the actual content
- Ensuring no hallucination or incorrect information is included
The amazing contributors who made this project possible:
Name | GitHub Profile | LinkedIn Profile |
---|---|---|
Anas Tahir | ||
Muhammad Abdullah Ghazi | ||
Muhammad Zubair |
We welcome contributions from developers, Islamic scholars, and anyone passionate about making the Quran more accessible through technology. Whether it's improving the search algorithm, enhancing the UI, or adding new features, your contribution can help millions connect better with the Holy Quran.
To contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
For major changes, please open an issue first to discuss what you would like to change. Let's work together to make this tool even more beneficial for the Ummah! 🌟
This project is licensed under the MIT License. Enjoy exploring and connecting with the Quran! 😊
This tool is designed to assist in Quranic research and study. Users should always verify verses and meanings with authenticated sources and scholars.