radfed6-bit/YurIIst ? reverse-engineered prompt

Reverse engineered prompt

Build me a Telegram bot in Python that acts like a fast legal helper for Russian law. I want users to be able to ask plain language questions about codes, federal laws, and court rulings, and get a clear answer without digging through huge documents. The bot should keep conversations in a simple session, save data in SQLite, and support fast text search so it can find relevant parts of the law quickly.

Please make it production ready with basic safety in mind, like limiting how often one user can spam requests, keeping each user’s data separate, and avoiding unsafe web requests. It should also have a small admin view or tracking for things like usage and payments if needed, since I may want to add subscriptions later. Use current docs online if you need to. Also include tests for the main flows, especially search, sessions, limits, and error cases. I want it to be easy to run locally with an env file and a simple command to start the bot.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab