nashtech-garage/ntg-agent — reverse-engineered prompt

Reverse engineered prompt

Build me a sample AI chatbot in C# that I can run locally and explore end to end. I want a simple web chat for normal users, plus a separate admin area where I can manage the agent, choose which model provider it uses, and configure things without editing code every time.

The chat should support retrieval from uploaded knowledge documents so it can answer based on my content, store embeddings in a database, and have optional long term memory so it can remember useful user details across conversations. Please make it work with more than one model provider, especially GitHub Models, and leave room for Azure OpenAI and Gemini too. If possible, include optional web search through Google custom search and optional file upload in chat using Azure document reading when keys are provided.

Use the stack this repo is aiming for, with a browser UI, admin UI, backend services, and local SQL Server support. Please wire up sensible local config, seed an admin login, and make the run flow straightforward. Look up current docs online if you need to.

Want more depth? Deep Reverse