That-Tech-Geek/chotu ? reverse-engineered prompt
Reverse engineered prompt
Build me the backend for a supplier negotiation app for small businesses, where my system can talk to suppliers and negotiate better deals automatically.
I want a fast API that handles negotiation sessions, supplier profiles, event updates, decision requests, datasets, training, and webhooks. The core should not use an AI model internally, it should work as a decision engine that reasons over pricing, minimum order quantity, payment terms, delivery window, quality, warranty, currency, tax, and deal validity, then decides what to do next.
Please include the negotiation flow, state tracking, safe execution with idempotency, audit history, and clear approval or block rules for money related actions. It should work in a serverless setup, be light enough for Vercel, and use simple HTTP based integrations for things like storage, cache, and supplier connectors when configured. If anything is unclear, use the README and look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit