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.
![image](https://private-user-images.githubusercontent.com/34826479/300257952-35c92c2b-bbe7-4ab0-84f2-534f2ca1d43c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwODI3MDMsIm5iZiI6MTczOTA4MjQwMywicGF0aCI6Ii8zNDgyNjQ3OS8zMDAyNTc5NTItMzVjOTJjMmItYmJlNy00YWIwLTg0ZjItNTM0ZjJjYTFkNDNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA2MjY0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMyZjVkOTgzZmIxY2IyNTIzNzZmYzc2MDU1MGQ1YTdlOGEwYjM5MGRkMjk2ZTU1NjIwZjNhYzYwYmEyN2JkMTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.i8x3JROe_MMTfQnNH55W7OlT3ZVUX0wKV3r5NPzSMcY)
-
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
![image](https://private-user-images.githubusercontent.com/34826479/300257253-4113082b-7c8d-49d9-914a-40fc8d67299e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwODI3MDMsIm5iZiI6MTczOTA4MjQwMywicGF0aCI6Ii8zNDgyNjQ3OS8zMDAyNTcyNTMtNDExMzA4MmItN2M4ZC00OWQ5LTkxNGEtNDBmYzhkNjcyOTllLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA2MjY0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY0ZDQ4YWY0YjBkYWJjOWE0YzFjYWQ0YWUyMWI2MmQ5ODE3YzJkNjllZTZlMDdjY2E0ZjQ4OWYzYjFiMDFhNmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8EDYg7A3rXJiMhnVsjPX5sqUgsHAmATQ-89Ddwl1L20)
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.
![image](https://private-user-images.githubusercontent.com/34826479/300257148-366b0b72-ea84-4f62-a7b5-2ca509441521.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwODI3MDMsIm5iZiI6MTczOTA4MjQwMywicGF0aCI6Ii8zNDgyNjQ3OS8zMDAyNTcxNDgtMzY2YjBiNzItZWE4NC00ZjYyLWE3YjUtMmNhNTA5NDQxNTIxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA2MjY0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI5YzI1NWFhNTc1MmEyN2U4MDFjMTIyY2Q5MWMwMmY3ZThhNmVkYjQ1M2Y1NjNkNDRjOGU1MDQ5NzE2OGMwMDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.F2lCMKE-0NlvfZQY5YSNA9gxLp0gqjuDG7wZvSGbBJM)
![image](https://private-user-images.githubusercontent.com/34826479/300257195-85c62500-285f-42bb-9755-da1d65ac54f0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6Im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1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk1NmI5ZDQ5MTlkMTdmZDQwNjg0Y2VlMjQwNmJjOWM4MmIyNjc2N2RlOTQ3MmRmNTg1ZGZjNWI3NGM5ZGE4MjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.RP1R0mGtuu4GXVYZUekKy8iXR_ryN2krZdDvXybBiPs)
![image](https://private-user-images.githubusercontent.com/34826479/300257224-8472ce06-7dfa-4304-8362-5a8d6ff718fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwODI3MDMsIm5iZiI6MTczOTA4MjQwMywicGF0aCI6Ii8zNDgyNjQ3OS8zMDAyNTcyMjQtODQ3MmNlMDYtN2RmYS00MzA0LTgzNjItNWE4ZDZmZjcxOGZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA2MjY0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhYjMzZTA3MzI5OTM4YmQ0MGM2YmEyNTk3NWI1NTVkNGM5ODlhN2RkMjNlY2RjZDBlOTRhOTg4NTg3ZDY5MTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.R2sA2exlIOubVoH0bJiRee79syNcgKSK5De5i3M0ApA)
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