Business directory extractor
Finds and verifies businesses
Give it a list of business names and the place they're in. It finds each one's Instagram profile and Google Maps listing, decides whether what it found really is that business, and only then takes the phone, website, hours and category. People check the doubtful cases.
- AI
- Data collection
- Human-in-the-loop
The task
Fill a directory from nothing but business names: find where each one is online and collect its phone, website, opening hours and category.
The problem
Search returns lookalikes: a namesake in another country, a sub-brand, a personal account, a profile abandoned years ago. A wrong phone number in a directory is worse than none, so a profile has to be shown to belong to that exact business before anything is taken from it.
How it works
- Search finds candidates for each name: an Instagram profile and a Google Maps listing in the right area.
- Rules check each candidate: the name, mentions of the place, whether it's a business account and still posts, whether the listing is open. An LLM reads the free text and flags doubts: another city, another country, a move. The decision itself is made by code.
- Each candidate gets a verdict: belongs, doesn't, unsure, inactive or closed.
- Fields come only from candidates that belong.
- Unsure cases go to people, and disagreements between them go to a developer.
- Every two weeks it checks again and sends only what changed.
The cost of an error
- A wrong phone number is worse than an empty field. A phone or website goes live when two sources agree or a person has approved the source.
- When sources disagree, a person decides.
- Hours and category go live on their own.
- A name that can't be judged is marked unsure, not rejected.
The review screen
- A record needs two independent approvals.
- Reviewers see a link to the source, but not each other's votes or the system's verdict, so nothing prompts an answer.
- The collected facts appear after the vote. If an approval disagrees with the system, it asks to check one specific fact again, without showing its verdict.
Cost
A local model on Ollama does the parsing instead of a paid one. Every paid service has a limit, and a run stops when it goes over. Collected data is kept and fetched again only once it's out of date, and branches of one chain share a single fetch.