In bustling cities, such as those in India, transportation apps encounter challenges in providing quick and effective solutions due to diverse languages spoken by the users. Moreover, there is a significant issue related to transparent cost estimates for individuals with budget constraints.
Raasta employs a diverse set of AI tools to effectively eliminate linguistic and economic barriers in the realm of urban mobility. With this innovative solution, users can effortlessly access real-time traffic advisories in their preferred language. Furthermore, Raasta goes a step further by providing personalized route suggestions based on the user's budget, ensuring a seamless and cost-effective travel experience
-
Lax.ai Integration: π¦Ύ
- Utilizes Lax.ai for predicting the most economic mode of travel between two locations.
-
Challan Reader: π
- OCR feature using
pytesseract
to extract information from images (challans in traffic safety being issued).
- OCR feature using
-
Voice to Voice Support: π£
- Speech to Speech conversation feature using Distilled Whisper LLM, gTTS, and PLAYHT.
-
Live Support: π¬
- Integrates real-time data, including live updates on traffic and routes through Google Maps APIs.
-
RAG Models with Custom Data: π
- Uses Retrieval-Augmented Generation (RAG) models with custom data for accurate and reliable outputs.
-
Fine-tuned on Specific Dataset: π
- RAG models like Llama2 are fine-tuned for more effective performance on a specific dataset.
-
Website Interface: π»
- User-friendly website interface for easy interaction and navigation.
-
New Tech Integration: π
- Incorporates new technologies and frameworks for improved efficiency and functionality.
-
The RAG (Retrieval-Augmented Generation) stands out from traditional Language Models (LLMs) by leveraging custom data, a crucial factor that enhances accuracy and reliability in model outputs. Used
mistral 7B model
withEmbedchain
Framework -
Input documents undergo conversion into vectors, and these vectors are efficiently stored in a database that is
vector db
here. -
The architecture facilitates the retrieval of vectors based on user queries, enabling effective access to relevant information.
-
Users can contribute to the model's knowledge base by providing links or documents as knowledge sources for the RAG.
-
The system integrates live updates on traffic and routes, utilizing Google Maps APIs. This dynamic information is actively included in the model's training process.
-
The incorporation of real-time data ensures that the RAG remains up-to-date, particularly in the context of urban mobility and route recommendations. This feature contributes to the model's adaptability and responsiveness.
- React + Vite
- TailwindCSS
- Flask
- Data Scraping for real-time data(selenium & Beautiful soup)
- RAG powered models.(Mistral 7B model with finetuning)
- Indic language support. (Indictrans2 LLM from AI4bharat)
- Speech to Speech models ( Distilled Whisper and PlayHT with gTTS) for Indic languages support
- Finetuned Llama models on dataset for more efficiency
- OCR models for image to text
Raasta envisions further enhancements and scalability to meet evolving user needs and technological advancements:
-
Expansion of Live Data Integration:
- Future iterations will focus on expanding the integration of real-time data, including live updates on traffic, routes, and other dynamic information, into the database.
-
Memory Augmentation for Chatbot:
- To enhance the chatbot's capabilities, future plans include memory augmentation strategies. This involves increasing the memory allocated to the chatbot for better recall and responsiveness.
-
Scalability Through Additional Memory:
- Scalability is a key consideration, and plans involve increasing memory capacity to accommodate growing data and user interactions effectively.
-
Fine-tuning of All Models:
- Continuous refinement and fine-tuning of all models, including RAG models like Llama2, are on the roadmap. This ensures optimal performance and adaptability to diverse scenarios.
-
Improved Pipelines with Docker:
- Implementation of better pipelines, including Docker containers, to streamline deployment processes and enhance overall system efficiency. Dockerization provides a modular and scalable approach to managing different components.
-
Enhanced Data Processing:
- Future developments aim to incorporate advanced data processing techniques, allowing for faster and more efficient handling of large datasets and live updates.
-
Dynamic Language Support:
- Expanding language support for the chatbot to include more languages, making Raasta accessible to an even wider user base.
-
User Feedback Mechanism:
- Implementing a robust user feedback mechanism to gather insights, identify areas for improvement, and ensure a user-centric approach in future updates.
-
Optimization for Low Resource Environments:
- Considerations for optimizing the system to operate effectively in low resource environments, ensuring accessibility across a spectrum of devices and network conditions.
-
Security Enhancements:
- Strengthening security measures to safeguard user data and maintain the integrity of the system.
Raasta remains committed to continuous innovation, adaptability, and providing an ever-improving urban mobility solution.
Before you proceed with the setup, ensure that you have the following prerequisites installed on your system:
-
Open your terminal or command prompt.
-
Navigate to the directory where you want to clone the Raasta repository.
-
Run the following command to clone the repository:
git clone https://github.com/trisha-thakur/Raasta.git
Navigate into the Raasta directory:
cd Raasta
- navigate to current repository
python -m venv venv
- create venv
venv\Scripts\activate
- activate env
source venv/bin/activate
activation command in mac or linux systems
pip install -r requirements.txt