AkashKhulpe5/Fifa-insights-ai ? reverse-engineered prompt
Reverse engineered prompt
Build me a FIFA World Cup insights app where I can ask questions in plain English and get answers from historical tournament data. I want a FastAPI backend with a simple health check and a chat endpoint, plus a Streamlit web app where I can type questions like who won a certain World Cup, compare teams, or see top scorers. It should read the CSV files in the data folder, support multiple datasets, and let me upload a football related PDF so the assistant can pull useful info from that too. Please make the AI stay focused on football and avoid answering unrelated questions. Use an LLM API like Groq or another OpenAI compatible one from environment variables, and include clear setup instructions and Swagger docs for the API. If you need to, look up current docs online so the implementation is up to date.
Are you gonna build this?
make sure you review the code using coderabbit