Skip to content
LLM · OpenAI · Case

Adding an LLM to a product: from Telegram messages to a map

An LLM demo takes an afternoon. A product where the model does real work every day takes design: where the text comes from, what the model returns, who checks it and what happens when it fails. Here is how we did it for a news product.

By Ross Honcharuk, founder and CTO6 min read

The task

A product team needed incoming news reports to appear as points on a map. Reports came in as Telegram messages: text, links, photos, videos and albums, often without a clear address. Reading each one, finding the place and filing it by topic did not scale by hand.

How the flow works

  1. A contributor from a closed group sends a report to a Telegram bot.
  2. OpenAI reads the message, writes a title and a description and finds the place.
  3. Geocoding turns the place into coordinates. If no place is found, the sender is told.
  4. The report becomes a ticket in the admin, with importance, category, source and files.
  5. An editor checks it and decides what is published on the public map.

Three lessons

  • Give the model a narrow job. It extracts a title, a description and a place. Everything else, from categories to publishing, is ordinary software with rules.
  • Plan for failure. A message without a place is a normal case, not an error, and the user hears about it at once.
  • Keep people in the loop. Nothing reaches the public map without an editor, so a model mistake costs a click, not a reputation.

What we took from it

That first version, from the bot to the map, is what we built. The three lessons above now go into every LLM integration we do.

LLMs are not the only AI we ship. In DrawHome.com, a 3D house planner, AI furnishing and renders give users a presentable room in minutes.

FAQ

Questions and answers

Which model did you use?

OpenAI models for parsing the messages. The flow around the model would stay the same with another provider.

Can an LLM publish content on its own?

It can, but we don’t recommend it where mistakes are public. Here every point is approved by an editor first.

How long does an LLM integration take?

A narrow, well-defined task can be in production quickly. A whole product around it, with a bot, an admin and a map, takes months.

Let’s talk

Thinking about an LLM in your product?

Describe the task in a 30-⁠minute call. We’ll tell you where the model fits and where people should stay in control.

Wrocław, Poland · Central European Time

Prefer to write? Describe the task in two or three lines and we’ll reply by email.

    We use your details only to reply. Privacy

    Thank you! Your message is with us, and we’ll reply by email.

    Test mode: the form works, but this preview sends nothing.

    Book a 30-⁠min call