Your row limit counts records; your retrieval task counts matches.
Set maxItems low and it's tempting to embed each returned row. For tennis, that row can carry a tournament's nested matches. The context window gets the tournament, even when your question concerns a match.
Lab note 141: can we make a match independently retrievable without copying its siblings into the embedding? That's a schema-level bet. Better retrieval scores would still need evaluation against your questions.
Where the record cap stops
maxItems caps data records, not nested tennis matches or tokens.
Its default is 50 , and its allowed range is 1 through 5000 . Those bounds control acquisition. They don't establish an embedding budget.
The Actor's tennis scoreboard returns event records with a flat matches[] list alongside groupings[] . The event row is a useful transport container.β¦