AI chat

A sport-shaped assistant that knows your athlete memory. What it can answer, what it deliberately won't, and how to get sharper responses.

The AI chat lives in the Mini Program (one tab) and inside Coach Studio (a side pane on every player view). It's the same engine in both places — the difference is whose memory it's reading.

What it actually has access to

When you start a chat, the AI loads:

Your athlete memory

Confirmed entries (you or your coach wrote them) plus active drafts (less than 14 days old). Archived entries are excluded by default.

The last 60 days of sessions

Anything older is summarised, not read in full — the AI gets a paragraph per month, not every session.

Sport-specific knowledge

For table tennis: skill tree, drill catalogue, common technical terms. For sports we haven't deeply trained on yet, the AI says so explicitly.

Nothing else

It does not have your phone contacts, location, calendar, photos, or anything outside Avelok.

How to ask it useful questions

The AI is at its best with specific, situated questions. Compare:

Vague (often unhelpful)Specific (much better)
"How do I improve my forehand?""My forehand has felt heavy the last 2 sessions. What changed in my context?"
"Plan my training.""Plan a 30-minute solo session for tonight. Match Saturday."
"Am I improving?""Compare last month's footwork notes with this month's. Anything trending?"

Phrasing matters less than situation. "I have 25 minutes and a pile of balls" is better than "give me drills."

What it deliberately won't do

This is a short list of things we built the AI to refuse, not just be bad at:

Hard refusals

  • Diagnose injuries or pain. It will redirect you to a physio with one tap.
  • Recommend supplements, diet plans, or weight targets. Especially for under-18s.
  • Compare you to other athletes in the system, even your own teammates. Sport benchmarking should not be a chat-app feature.
  • Make decisions for you ("should I drop this coach", "should I switch club"). It will offer pros/cons if you ask, but won't pick for you.

These refusals are not configurable. If you need them off, this is the wrong product.

Coach mode

When a coach opens the AI inside a player view in Studio, the AI reads that one player's memory and switches into coach mode:

  • Tone shifts: technical, terse, no encouragement language
  • Shows reasoning by default (why it suggested a drill, what in the memory it pulled from)
  • Suggests up to 5 candidates per question, not 1 — coaches make the final call

The coach can also click show source on any AI sentence, which jumps to the specific memory entry that informed it.

Memory citations

Every non-trivial AI answer cites the memory entries it used. The citations look like small chips under the answer:

Plan: 4×8 backhand-counter drill, then 3×3 fast-push openings. Sources: 2 sessions ago (footwork tagged "below avg"), Coach Maria's note from Tue.

If you don't see citations, it means the AI answered from generic sport knowledge (the equivalent of a textbook), not from your memory. That's fine for general questions; for personal ones, no citations means the AI doesn't have enough specific context — log a few more sessions and ask again.

Privacy boundary

The AI sends your question and the specific memory slices it needs to a model provider for inference. We rotate providers to avoid lock-in; the current production providers are listed in the privacy policy. We never send:

  • Full session transcripts (only relevant excerpts)
  • Other people's data alongside yours
  • Identifying info (names are stripped before send; we put them back after)

Logs are retained for 30 days for safety review, then deleted.

What's next