tirthankar95/agentic-physics-question-generator ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python app that generates high quality physics word problems from a chosen topic. I want to pick a topic from a simple menu, then have the app gather related context from a local knowledge base, generate a new problem with an LLM, and make sure the question is logically consistent and actually solvable before showing it to me.

If possible, let it save the generated questions to a CSV or dataset folder, and let me turn saving and training feedback on or off from a config file. I also want it to support different LLM providers through a config, and to keep the topic and equation setup flexible so I can add more physics topics later. If the question format is bad or the logic does not work, please automatically revise it.

Make it runnable from the command line with one main entry point, and use current docs online if you need to fill in anything unclear.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab