SalesforceAIResearch/enterprise-sales-copilot — reverse-engineered prompt
Reverse engineered prompt
Build me a working local demo of an Enterprise Sales Copilot for live sales calls. I want a simple web app where someone can click Start Mic and speak during a mock customer call, the app should detect when the customer asks a product question, pull the most relevant info from a product knowledge base, and show a short helpful answer on the rep dashboard in near real time. It should also have a text input mode for testing without a microphone, plus a demo mode that simulates a sales call with voice if that is supported.
Use the included sample insurance data, but keep it easy to swap in a different product catalog later. It should support one of the common LLM providers and streaming speech to text, based on environment keys. Please wire up the frontend and backend so it actually runs locally, and include whatever setup is needed for credentials and startup. If anything is unclear, check the current docs for the APIs used and make sensible choices.
Want more depth? Deep Reverse