City Assist is a web application designed to simplify the search for reliable household help by delivering the top 10 relevant matches based on user needs. The platform focuses on efficiency, verification, and user experience, using advanced techniques to ensure accurate and secure results.
Aadhar Card from: https://www.scribd.com/document/432565930/Adhar-card-sample
City Assist automates professional ID verification using Selenium for browser interactions, which verifies IDs on official portals. This helps ensure authenticity at scale, especially for specific professions such as nursing.
The platform uses PaddleOCR for Aadhaar card verification. By extracting and matching text from Aadhaar images, City Assist validates user-provided details, enhancing security and reducing manual effort.
City Assist employs vector-based search with MongoDB and Google Embeddings, enabling efficient and nuanced matching of user queries with household help profiles. This provides more accurate results compared to basic conditional filtering.
Streamlit provides a fast, responsive UI for City Assist, enabling users to quickly search, filter, and verify profiles with minimal lag, enhancing the overall experience.
City Assist combines vector search with MongoDB, OCR verification with PaddleOCR, and Selenium automation, creating a user-friendly platform for reliable and fast household help matching.
An account on MongoDB, with network access as 0.0.0.0/0 (access anywhere) or any specific IP address. and preferably a database access with a new user and password to your cluster (for Mongo URI).
- Connect to mongodb cluster using, this is MONGO_URI: mongodb+srv://<user_id>:<user_password>@cluster0.ozbxk.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
- Gemini API Key this is GOOGLE_API_KEY: Access it here: https://aistudio.google.com/app/apikey
- Chromium driver
- Edit MONGO_URI and GOOGLE_API_KEY
- Necessary packages:
pip install -r requirements.txt
- Load dataset in your own Mongo Database Cluster:
py load.py
- Create a Atlas Search Index on Mongo DB, below is the index overview we have used as this has been made using Google Gemini embeddings and Gemini. You can copy paste this on JSON editor portion, after creating search index:
{
"mappings": {
"dynamic": true,
"fields": {
"embedding": {
"dimensions": 768,
"similarity": "cosine",
"type": "knnVector"
}
}
}
}
- Run the flask server for Aadhaar Verification.
py aadhaarchecker.py
- Run flask server for NUID Verification of nurses.
py nursechecker.py
- Househelp Data Entry and Verification
streamlit run updated_househelp_ui.py
- Househelp Search
streamlit run cityassist.py