A pain you feel as a user
Buying a sofa in Tbilisi through Telegram means joining a dozen groups and scrolling through hundreds of messages, most of which are chatter, questions, and irrelevant listings. The same item is duplicated across different chats. What you need isn't there, and neither is search
This problem is equally painful in Batumi, Yerevan, Istanbul, and Belgrade. When you realize the task is the same in several countries, that's a sign of a product, not a one-off solution
From a message to a structured record
The parser runs around the clock: it collects public messages from groups and passes them to an AI model that determines the category, subcategory, title, price, and currency. Ordinary chatter is filtered out at this same stage
The first version of the pipeline called the model for every message. That turned out to be expensive: processing cost grew linearly with volume. I had to think about where a decision could be made earlier, before the expensive call
Deduplication before the model
The key optimization is deduplication before sending messages to classification. A text hash catches exact copies. Comparing contacts, title similarity, close prices, and matching images helps find cross-posts, where one seller places the same listing in several groups
After this step, far fewer messages go to the model. That is what cut AI costs by 80% with no loss in classification quality
The catalog and city channels
The pipeline's result is a multilingual catalog at teleposter.online with search and filters. In parallel, the bot sends fresh listings back to city channels with a link to the site. This creates a loop: Telegram as both a source of traffic and a distribution channel
Right now the database holds about 50,000 listings from 9 cities in 6 countries. The product is alive and evolving: every day a new city is added or classification quality improves