diff --git a/backend/app/services/ai.py b/backend/app/services/ai.py index 52ecfb3..4257404 100644 --- a/backend/app/services/ai.py +++ b/backend/app/services/ai.py @@ -34,9 +34,13 @@ class MatchContext: def _prompt(ctx: MatchContext) -> str: return ( - f"You are a football match analyst. Predict the result of this match.\n" - f"Match: {ctx.team_a} (Team A, home) vs {ctx.team_b} (Team B, away)\n" - f"Venue: {ctx.venue}\nKickoff: {ctx.kickoff}\n\n" + f"You are a football match analyst. Predict the result of this " + f"2026 FIFA World Cup match.\n" + f"Team A: {ctx.team_a}\nTeam B: {ctx.team_b}\n" + f"Venue: {ctx.venue}\nKickoff: {ctx.kickoff}\n" + f"Important: World Cup group-stage matches are played at NEUTRAL venues. " + f"Neither team has home advantage unless it is a host nation " + f"(Mexico, USA, or Canada). Do NOT claim home advantage otherwise.\n\n" f"Predict the final regulation-time score. " f"Respond with a single JSON object and nothing else, with keys:\n" f' "scoreA": integer 0-9 (Team A goals),\n'