Przejdź do treści głównej

\"3-room apartment near a park under 500k\": what Mieszko's AI search actually does with that sentence

Codella4 min czytania

A look inside Mieszko's AI search — what it reliably extracts from a plain-language query, and which parts still need a manual filter.

"3-room apartment near a park under 500k": what Mieszko's AI search actually does with that sentence

You open Mieszko, tap "Ask AI," and type something like "3-room apartment near a park under 500k" instead of clicking through a filter panel. A few seconds later you have results. It feels like magic, but it isn't — it's two fairly ordinary steps stacked on top of each other, and knowing what they are tells you when to trust the results and when to reach for the manual filters anyway.

Two passes, not one

When you submit a query, Mieszko doesn't send your sentence straight to a language model and hope for the best. It runs a fast pre-pass first: a set of Go regexes and dictionaries that try to pull out anything obvious before the model even sees the text. This pre-pass looks for Polish transaction words (sprzedaż, wynajem), property types (mieszkanie, dom, działka, lokal, garaż), market terms (rynek pierwotny/wtórny), and condition (nowy, do remontu). It also has basic handling for Polish declension — so "Krakowie" or "Poznaniu" still matches "Kraków" or "Poznań" as a city, because the code strips and swaps common suffixes before comparing.

Numbers get their own regexes: price ranges like "300-500k", prefixes like "od 300 tys." or "do 500k", area in "m2"/"m²"/"metr", and room counts written as "3 pokoje" or "2-3 pokoje". Currency symbols (PLN, zł, EUR, €, USD, $) get normalized too. None of this touches a model — it's plain pattern matching, and it runs in milliseconds.

Whatever the pre-pass finds — mainly city, district, and street — gets attached to your query as a hint before it's sent to the actual AI model for full parsing. The model's answer always wins if it disagrees with the pre-pass; the heuristic only fills in blanks the model left empty. The combined result gets validated against Mieszko's own enums for property type, transaction type, market, and condition — anything that doesn't match a real value is quietly dropped rather than passed through to the database. And every AI search is scoped to active listings only, so you'll never land on something already sold.

What it's good at

For anything expressible as a location plus a number — city, district, price range, area range, room count, market, condition — this pipeline works about as well as filling in a filter form yourself, just faster. "Dwupokojowe w Poznaniu do 600 tysięcy" gets parsed into city, rooms, and a price ceiling with no extra taps.

Where it still needs a manual filter

Three things are worth knowing before you trust the AI search results as final:

Rooms, not bedrooms. Mieszko's structured filters — both the AI pipeline and the manual filter bar — work on total room count, not a separate bedroom count. A listing's bedroom number exists as display information on its detail page, but it isn't something you can filter on today. If you type "3-bedroom," expect it to land somewhere close to "3 rooms," not a guaranteed bedroom match.

Proximity language isn't a filter field. "Near a park," "close to a school," "by the tram stop" — none of these map to anything in the search schema. There's no point-of-interest or amenity field being extracted. The model may pick up on a district that happens to be near what you described, or it may just ignore the phrase. Either way, don't assume the results were actually filtered by distance to a park — check the map view yourself.

English location phrasing is less predictable than Polish. The deterministic pre-pass — the part that reliably strips Polish suffixes to match a city or district — is built for Polish. If you search in English or Ukrainian, location matching leans more heavily on the model's own judgment rather than the fast dictionary lookup, so it's worth double-checking that the city or district actually landed where you expected.

There's also a practical limit: AI search is rate-limited, and firing off many queries in quick succession will eventually get you a "try again in X" message rather than a result. If you're iterating — nudging the price up, adding a room — it's usually faster to switch to the manual filter bar for that kind of fine-tuning instead of rephrasing and resubmitting.

The honest way to use it

Treat AI search as a fast way to get most of the way to what you want in one sentence, then use the manual filters to nail down anything it can't express yet — floor, specific amenities, exact proximity to something you care about. It's a shortcut into the same search index the filter bar uses, not a separate, smarter engine underneath. Once you see your results, take a second to check that the city, price range, and room count in the applied filters actually match what you meant, and adjust from there.