An AI-powered web application to search global importers and exporters by country, product, and trade type. Built with Flask, SQLite, and three AI features.
TradeFind is an AI-powered import/export trade intelligence platform built as an AI/ML internship project. It allows users to search verified trade companies worldwide by country, product, and trade type — and download complete contact lists in Excel instantly.
The platform features three AI layers:
-
NLP Semantic Search — uses sentence-transformers to match queries by meaning, not just keywords. Searching "petroleum" finds "oil" companies. Searching "garments" finds "textile" companies.
-
Smart Recommendations — uses TF-IDF vectorization and cosine similarity to suggest similar companies on every detail page, ranked by match percentage.
-
AI Chatbot Assistant — powered by Groq Llama 3, understands natural language queries like "find oil exporters in UAE with email" and returns real company results instantly.
- Classic search by country, product, and trade type
- AI semantic search using sentence-transformers (petroleum finds oil)
- Similar company recommendations using TF-IDF cosine similarity
- AI chatbot powered by Groq Llama 3 for natural language queries
- Excel export with all contact details
- Company detail page with products, services, address, and website
- Python, Flask, SQLite
- sentence-transformers (all-MiniLM-L6-v2)
- scikit-learn (TF-IDF + cosine similarity)
- Groq API (llama-3.3-70b-versatile)
- openpyxl for Excel export
- Cloudflare Tunnel for public URL
- Open TradeFind_FINAL.ipynb in Google Colab
- Save your Groq API key in Colab Secrets as: API
- Run Cell 1 — installs libraries
- Run Cell 2 — builds app and launches it
- Run Cell 3 — gets your public URL
- Click the URL to open the live app
https://console.groq.com — free, no credit card needed
- UAE + Oil + Exporter → 8 companies
- Pakistan + Textile + Exporter → 3 companies
- AI search: type petroleum Gulf
- Chatbot: find oil exporters in UAE with email
- app.py — Flask web application
- ai/nlp_search.py — NLP semantic search engine
- ai/recommender.py — TF-IDF similarity recommender
- ai/chatbot.py — Groq LLM chatbot
- templates/ — HTML templates with inlined CSS and JS
- data/trade.db — SQLite database
Built as an AI/ML internship project demonstrating:
- NLP text embeddings and vector search
- Content-based recommendation systems
- LLM API integration and prompt engineering
- Full-stack web development with Flask