AI Car Recommendation Agent
Overview
An AI-powered virtual sales advisor that ingests scraped data from multiple car-selling platforms and recommends the best car for a user's budget, preferences, and intended use. The system understands natural-language queries, filters across price, brand, mileage, and condition, and surfaces ranked alternatives when an exact match isn't available. Supports both English and Arabic queries, and is built to scale to additional marketplaces. Outcome: A scalable recommendation agent that turns free-text user preferences into actionable, ranked car suggestions across multiple marketplaces.
Architecture & Pipeline
flowchart LR
n0["User Query (EN/AR)Natural language"]
n1["Intent ParserOpenAI GPT-4 · LangChain"]
n2["Filter BuilderPrice · Brand · Mileage · Condition"]
n3["Marketplace IndexPostgreSQL"]
n4["RankerScoring + fallbacks"]
n5["Response APIFastAPI · Docker · AWS"]
n0 --> n1
n1 --> n2
n2 --> n3
n3 --> n4
n4 --> n5
classDef step0 fill:#f1f5f9,stroke:#64748b,color:#1e293b,stroke-width:2px,rx:10,ry:10;
classDef step1 fill:#ecfeff,stroke:#06b6d4,color:#1e293b,stroke-width:2px,rx:10,ry:10;
classDef step2 fill:#f0fdfa,stroke:#0d9488,color:#1e293b,stroke-width:2px,rx:10,ry:10;
classDef step3 fill:#ecfdf5,stroke:#10b981,color:#1e293b,stroke-width:2px,rx:10,ry:10;
classDef step4 fill:#fffbeb,stroke:#f59e0b,color:#1e293b,stroke-width:2px,rx:10,ry:10;
class n0 step0;
class n1 step1;
class n2 step2;
class n3 step2;
class n4 step3;
class n5 step4;
End-to-end flow derived from this project's scope and tech stack. Tap View Fullscreen for a larger view, or scroll horizontally on small screens.
Key Features
- Natural-language query understanding with multi-parameter filtering
- Ranked recommendations with fallback alternatives
- Marketplace-ready ingestion from scraped sources
- Bilingual support (English and Arabic)
- Designed to scale across multiple car platforms
- Tech Stack:** Python, OpenAI GPT-4, LangChain, Selenium, BeautifulSoup, FastAPI, Docker, AWS, PostgreSQL