Retrieval Augmented Generative (RAG) Engine project! This project combines natural language processing and machine learning to assist users with two key features: Contextual Summarization and Chat with Your Data. This README will provide you with all the information you need to get started and make the most of this project.
The Contextual Summarization feature allows you to generate concise summaries from various input sources such as web page URLs, text, or documents. It leverages your provided context words to tailor the summarization to your specific needs. Whether you want to quickly understand the essence of an article, extract key points from a document, or summarize any text.
With the Chat with Your Data feature, you can upload your own documents and engage in a conversation with them. Upon uploading your document, you will be assigned a unique ID, which will be active for 48 hours. During this period, you can interact with your data as if you were having a chat, retrieving information, asking questions, or seeking insights. Rest assured that your data will be securely deleted after 48 hours to protect your privacy.
Before you get started, ensure you have the following prerequisites:
- Python 3.10.12 installed
- An active internet connection
- Basic knowledge of using the command line
-
Clone the RAGE project from the GitHub repository:
git clone https://github.com/Leumastai/kaggelx-submission.git
-
Navigate to the project directory:
cd kaggelx-submission
-
Install the required Python packages:
pip install -r requirements.txt
-
You're all set!
-
Clone the RAGE project from the GitHub repository:
git clone https://github.com/Leumastai/kaggelx-submission.git
-
Install Docker Compose
sudo apt-get install software-properties-common && sudo apt-add-repository universe && sudo apt-get update sudo apt-get install docker.io sudo apt install docker-compose pip install docker-compose
-
Add docker to sudores
sudo usermod -aG docker ${USER} su - ${USER}
-
You're all set!
-
Run: (In terminal 1)
python3 backend/main.py
(In terminal 2)
python frontend/main.py
-
Connect to port
localhost:8501
To use the Project feature, follow these steps:
-
Run:
docker-compose up --build
-
Connect to port
localhost:8501
Your uploaded documents and chat data will be securely deleted after 48 hours. We do not store any user data beyond this time frame. For more information on data privacy, please refer to our Privacy Policy.
We welcome contributions from the community. If you'd like to contribute, please check our Contribution Guidelines.
This project is licensed under the MIT License.
Thanks to KaggleX for creating such a medium and opportunity that enables individuals to communicate, network, and learn. This platform has been instrumental in the development of this project, and I'm are grateful for the resources and community it provides.
Deep appreciation to Ray and Rainy for their invaluable guidance and support throughout the development project. Thanks once again.