• (+43) 664 2081526
  • info@mahevi.solutions
    • Work
    • Insights
    • Water & wind

      • Rowing lightDanube levels and whether to row
      • Wind spotsWind now and the next days

      Maps

      • MapDraw markers and areas
      • Indoor mapsFloor plans with points

      QR & NFC

      • Create a QR codeBusiness card, link, payment
      • Read a QR codeScan with the camera
      • NFC tagWrite tags
      • Loan calculatorInstalment, term and interest
      • What can I affordHow much loan you can afford
      • Loan applicationStep by step to the application
      • Edit a PDFInsert signature, text, QR
      • Check signatureIs the document genuine?
      • WatermarkMark images
      • Document layoutSplit a PDF into blocks
      • Image infoWhat a photo reveals about itself
      • Video recorderRecord and save
      • Audio recorderRecord, transcribe and share speech
      • Edit a videoIn the browser, no upload
      • Video sequenceString clips together
      • Media libraryAll videos
      • CanvasInteractive examples
      HelpGuides
    • AnonymousLocal storage only

      Surveys & dates

      • Public surveysOpen to everyone, no invitation
      • QuestionnairesAll questions on one page
      • CalendarDates and availability

      Settings & help

      • OptionsAppearance, language, app
      • SystemDevice, browser and server
Home/Work/Searching for a sports holiday by the water

Searching for a sports holiday by the water

For an accommodation and booking agency: first the spot by the conditions on the water (wind, waves, season), then your own preferences with AI, then hotels, apartments and private stays on the map – and from there straight to booking or to the booking agent.

How it works
  1. 01Conditions per spot
  2. 02A wish in your own words
  3. 03AI picks up preferences
  4. 04Spots & stays on the map
  5. 05Choose on the map
  6. 06Booking or agent
Description

The task

People looking for a sports holiday by the water do not ask for a hotel, they ask about the conditions: Where is there wind and waves in February – for a couple, in a private apartment? A booking platform cannot answer that, and neither can a weather app. The accommodation agency wanted to answer exactly that question – and turn the answer straight into a booking.

What was built

  • Spots by conditions: more than a hundred water-sports spots worldwide with statistics of good days per month over five years, plus temperatures and waves, from measuring stations where there are any, otherwise from a global dataset; plus the conditions now, the next days and the season.
  • Search in your own words: the question is asked the way you would ask a person. The AI reads the preferences from it – month, wind strength, waves or flat water, courses, nightlife, adults only, hotel, apartment or private – and turns them into filters you can see and change.
  • Everything on one map: matching spots and the agency's stays side by side, each with pictures, videos and a description. You choose right on the map.
  • On to booking: the selection goes to booking or as a request to the booking agent – with everything the search found.

What the base map looks like can be seen at Wind at the spots: the same map with the spots, their wind and the statistics of good days – there without the stays.

Try the Spotfinder: at Wind at the spots the Spotfinder finds the matching spot – in your own words, without signing in. How it works, where its data comes from and where its limits are is described in the chapters of this page.

Map management

The agency maintains its stays itself: as places with position, pictures, videos, text and visibility, on one or several maps, plus areas for spots and markers. New entries stay drafts until they are published. The same maps and the same management run in production on mahevi – for rowing waters, river gauges and wind spots.

Why it was fast

The building blocks were there: the map model with places, areas and management, the statistics and forecasts of the tools for wind and water levels, small controls that can appear inside a chat. What was new was mainly the agency's domain – what makes a stay, which preferences matter and how a search becomes a booking.

Profile
Area
maps, AI assistant (Spotfinder), booking
For
a local accommodation and booking agency
Scope
spot search by conditions, AI search by preference, Spotfinder chat in your own words, stays on the map, map management for the agency, wind alerts by mail
Spots
more than 100 spots worldwide, descriptions in four languages
Data
five years of statistics per spot (NASA POWER or a measuring station), measuring stations (GeoSphere, DWD, ARPA Lombardia, Meteotrentino), forecasts (ICON-D2, AROME, MET Norway), waves (NOAA)
Freshness
measurements every 5–10 minutes, forecasts at most 30 minutes old, statistics recomputed monthly
AI
language model with tools (function calling), knowledge base with embeddings (pgvector), fixed answer format, targeted web search for current news (Bing)
Languages
German, English, French, Italian; the chat answers in the language of the question
Operation
language model interchangeable (Azure OpenAI today, further providers can be connected), usable without signing in, daily and per-minute limits
Open the SpotfinderRequest a conversation

The Spotfinder

The wish in your own words

You write what you are looking for – the way you would tell a person: “Windsurfing in November, at least 20 degrees, waves are fine, but 15 knots on half of the days.” The Spotfinder turns that into a search by month, wind strength, share of good days, temperature, waves or flat water, skill and region, and answers with a list of matching spots – the best match first, each with its reason.

If something essential is missing, it asks instead of guessing: which sport (windsurfing, wingfoiling, kiting – or surfing, which the data is not made for), which period, which region. Name a place such as “Fuerte” or “Lake Garda” and it searches there. It answers in the language of the question.

The map as a shared screen

Chat and map know each other. The Spotfinder knows which spot is selected and which spots the map shows – “how is the wind here?” or “which of the visible ones is best in March?” refer to that. In return every answer brings buttons: one for each spot named, “Show all on the map” for a selection and – when a spot meets every wish – the way to booking. The page builds these buttons itself from checked spot keys; the language model writes no links.

Our own data

The basis is our own spot data: more than a hundred spots with position, region, best months, wind directions, water and level, a description per spot in four languages with its sources, and statistics of good days per month over five years – with wind, temperature and waves. All of it is maintained on a page, without a developer.

Open weather data

What is blowing now and what is coming comes from open sources: measuring stations of GeoSphere Austria, the German Weather Service (DWD), ARPA Lombardia and Meteotrentino; forecasts from the ICON-D2 (DWD), AROME (GeoSphere) and MET Norway models; waves from NOAA GFS-Wave; the long-term statistics from NASA POWER or – where a local wind needs it – from a station on the shore. Every source is named with its licence.

How an answer is made

Knowledge base with embeddings

The spot descriptions are cut into sections and stored as vectors (embeddings) in PostgreSQL with pgvector. Before every answer the question becomes a vector too and is compared with the sections; the closest ones go into the model’s instruction as reference text. Only the spot descriptions are searched, and only what the person asking may read.

Tools instead of invented numbers

The language model does not calculate and knows no weather data. It gets four tools (function calling), each with an exact schema: search and rank spots for a wish, read one spot in detail, the wind now and over the next 48 hours, and where there is good wind today or at the weekend. The model only supplies the arguments – say month 11, at least 20 °C, 15 knots. The server checks them against the schema, runs the tool and returns a compact result. Numbers in the answer therefore always come from the data.

A short, agentic flow

An answer is made in rounds: the model calls a tool, reads the result, calls another one if needed – first the search, say, then the details of the best match – and only then writes the answer. The number of rounds is limited, every round is booked, and before each further one the budget is checked. Meanwhile the person sees that a search is running.

Fixed answer format

The answer is not free text but a JSON object following a strict schema: the text for the person, the spots named, whether the selection should go on the map, one spot for booking, up to three suggestions for the next question and – after a web search – the sources. The page checks every spot key against its own list and builds buttons and addresses itself – a link cannot arrive broken, wrong or in the wrong language.

The model is a setting

Which language model answers is a setting of the agent, not part of the code. Today it is a small, low-cost model on Azure OpenAI; other providers can be connected. The tools need a model with function calling in the supported form.

Current data, fast answers

Load once, keep in memory

A search compares more than a hundred spots at once. To do that in milliseconds, the spot list and the precomputed statistics are held in the server’s memory. They are loaded from the database at start-up – and the spot list again as soon as someone saves a spot. Only a spot’s description is read fresh from the database on every call, so a change applies at once.

Serve, then renew in the background

Measurements and forecasts are not fetched for every question. Every request gets the copy in memory at once; if it is too old, the server fetches the new one in the background and the next request has it. Measuring stations are read every five to ten minutes, forecasts after half an hour at the latest. If a source fails, the last valid state stays and is marked as such.

Background jobs

What takes effort is done by jobs: new runs of the ICON-D2 model and of the wave forecast are read as soon as they appear; the five-year statistics are recomputed when they are a month old, a year has closed or a spot was moved – and stored as a result, so a restart has nothing to fetch again.

Demand drives the load

A spot someone asks about is renewed more often than one only the overview map shows. Forecasts are transferred compressed and only when they changed; of large model files only what the spots need is read. The data providers’ limits are respected.

A new spot

A newly created spot is in the list and on the map at once, its description goes into the knowledge base automatically when it is saved, and its statistics are computed within an hour. Until then the Spotfinder does not recommend it but counts it as “not yet with statistics”.

Limits and costs

Without signing in

Anyone can ask the Spotfinder, even without an account. Because no account carries these questions, they have daily limits of their own: per visitor, per internet connection and for all visitors together. The chat shows what is left of the day. Whoever wants to ask more signs in – and then finds their conversations again too.

With an account

Signed-in people have a daily budget of tokens and requests, graded by account level. Once it is used up, the question is refused at the door – not after the lookup and the model have been paid for. An answer still being written ends when the budget is reached while it is written, and says so.

Per minute and at once

A per-minute rate limit keeps a script from setting off many answers in a short time, and one person can only have a few answers running at the same time.

The tenant

Above that are the tenant’s ceilings per day and month. They apply to all its agents and accounts together and are checked before every answer and before every further tool round.

Per answer

Every answer has a maximum length and a maximum number of tool rounds. The tools return compact, rounded results, because every character is read and paid for again in the next round.

Traceable

Every round, every lookup and every tool call is booked and logged – with model, tokens and cost. So every answer can be traced and every limit adjusted in operation, without shipping new software.

Chat, web search, voice, real time

The simple chat

This is how the Spotfinder runs today: type a question, the answer appears word by word, below it spot buttons, the way to the map and suggestions to tap. Usable without signing in; with an account the conversations are kept.

Dictation and read-aloud

Available once enabled: dictate the question through the microphone and have the answer read aloud. Only the answer text is read – not the buttons and not the JSON behind them. Minutes heard and characters spoken have limits of their own, per account and per tenant.

The real-time conversation

Available once enabled: a conversation by voice in both directions over WebRTC. The key to the speech AI never leaves the server, and the server remains the only one that starts answers. Because a voice knows no fixed answer format, the Spotfinder’s format becomes a tool through which the spots and the map still reach the page. The length of a conversation is limited.

Web search

Switched on, but targeted: the Spotfinder only searches the internet when someone explicitly asks for something current that its data does not hold – events and competitions, closures, opening hours, getting there or rules at a spot. Wind, statistics, temperature and waves still come from the tools only.

The pages found appear as source buttons below the answer; the text itself contains no links. Web search has daily limits of its own – per address without signing in, per person with an account, plus per tenant and in total. Once it is used up for the day, the Spotfinder answers from its data and says so in one sentence.

The search query leaves the data-protection boundary of the Azure services and goes to Microsoft Bing; the privacy policy describes this. Name, account and IP address are not sent along.

Next step

Does this fit your plans?

Tell me in a few sentences what it is about: process, data, goal. We will sort out the rest in a conversation.

Request a conversationMore projects
© mahevi

Search

Help center

close

Info

Account