Skip to content
Prompt

A1Betting7-13.2 — Copilot Instructions

by itzcole03

AI Summary

Heuristic scoring (no AI key configured).

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "A1Betting7-13.2 — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/itzcole03/A1Betting7-13.2

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Copilot Instructions for A1Betting7-13.2

God Prompt: /aibetreco

Context: • Goal: Develop a new AI-driven betting recommendation endpoint in the backend. • Backend Location: backend/app/api/endpoints/recommendations.py • ML Integration: Utilize the existing ML ensemble. Assume a ml_service.predict_betting_opportunity(data) function exists (or suggest its creation) that returns a BettingRecommendation object (define Pydantic model for this). • Data Input: Requires game_id, player_id (optional), prop_type (e.g., 'points', 'rebounds'). • Output: Return a BettingRecommendation Pydantic model including recommended prop, confidence score, and brief AI reasoning (if available from ML service). • Requirements: • Define a FastAPI POST endpoint /api/recommendations/predict with robust request validation using Pydantic models. • Implement the logic to call the ml_service for predictions, ensuring efficient data passing and minimal latency. • Handle potential errors from the ML service or data processing gracefully, returning appropriate HTTP responses. • Ensure the endpoint is optimized for response time (<500ms for heavy operations, <200ms for standard). • Add comprehensive unit and integration tests for the endpoint, including mocking the ML service and data inputs. Task: Generate the FastAPI endpoint, Pydantic models for request/response, and integrate with the ML service. Focus on robust error handling, data validation, performance, and clear API design that aligns with the A1Betting backend architecture. Consider how this endpoint will be consumed by the frontend.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 5mo ago
Stale
AdoptionUnder 100 stars
0 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Forks1
Issues2
Updated5mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more