{"id":21897740,"url":"https://github.com/webmaxru/enterprompt","last_synced_at":"2025-06-27T03:37:10.863Z","repository":{"id":174789900,"uuid":"650819661","full_name":"webmaxru/enterprompt","owner":"webmaxru","description":"Enterprise Prompting Demo","archived":false,"fork":false,"pushed_at":"2025-01-30T10:04:51.000Z","size":2286,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T18:11:09.294Z","etag":null,"topics":["azure","azure-openai","azureopenai","chatgpt","openai","prompt-engineering"],"latest_commit_sha":null,"homepage":"https://enterprise.promptengineering.rocks/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webmaxru.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-07T22:03:15.000Z","updated_at":"2025-01-30T10:04:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"96eecf9c-d5c0-4018-a97d-99bb12cbbadf","html_url":"https://github.com/webmaxru/enterprompt","commit_stats":null,"previous_names":["webmaxru/enterprompt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webmaxru/enterprompt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fenterprompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fenterprompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fenterprompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fenterprompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webmaxru","download_url":"https://codeload.github.com/webmaxru/enterprompt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fenterprompt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262182867,"owners_count":23271701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-openai","azureopenai","chatgpt","openai","prompt-engineering"],"created_at":"2024-11-28T14:18:49.264Z","updated_at":"2025-06-27T03:37:10.855Z","avatar_url":"https://github.com/webmaxru.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enterprise Prompt Engineering - Your company's very own ChatGPT\n\nThis is an alternative app (frontend and backend) for the [ChatGPT + Enterprise data with Azure OpenAI and Cognitive Search](https://github.com/Azure-Samples/azure-search-openai-demo/) project.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"app/public/images/social.png\" width=\"300\"\u003e\n\u003c/p\u003e\n\n### Web application (installable, offline-ready)\n\n[EnterPrompt](https://enterprise.promptengineering.rocks/) - ChatGPT-powered bot which only uses your enterprise data\n\n## Getting Started\n\n### Frontend\n\nFirst, run the development server:\n\n```bash\ncd app\nnpm install\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n### Backend\n\nThere are 2 options available:\n\n- running API from external server (hosted demo). You can only use the data that is already there.\n- locally. Then you can upload your own data and create your own flavor of assistant (and deploy it if you wish). Running locally requires Azure account - you can get one with $200 credit for free [here](https://aka.ms/free-azure-pass).\n\n#### Running API from external server\n\nJust rename `.env.external-api.local` to `.env.local` and you are good to go. You will use https://enterprise.promptengineering.rocks/api as a backend proxied via Rapid API to deal with CORS.\n\n#### Running API locally\n\n1. Install [Python 3+](https://www.python.org/downloads/), [Azure CLI](https://learn.microsoft.com/cli/azure/install-azure-cli), and [Azure Functions Core Tools](https://learn.microsoft.com/en-us/azure/azure-functions/functions-run-local?tabs=v4%2Cwindows%2Ccsharp%2Cportal%2Cbash#v2)\n\n2. In your Azure account create a new resource group with the following services (free or lowest tier is fine):\n\n- Azure OpenAI Service with 2 model deployments: text-davinci-003 and gpt-35-turbo\n- Azure Cognitive Search service. Free tier is fine.\n- Form Recognizer. Free tier is fine.\n- Azure Storage\n- Azure Static Web Apps (if you want to deploy your app later). Free tier is fine.\n\n3. Prepare your data.\n\n- Replace PDFs in the data folder with your own ones.\n- Rename `scripts/.env.template` to `scripts/.env` and enter services names and keys from the previous step there.\n- Run `./scripts/prepdocs.ps1` or `./scripts/prepdocs.sh` (depending on your OS). This script will upload your PDFs to Azure Storage (split into pages) and create a new index in Azure Cognitive Search.\n\n4. In `app/api/` folder rename `local.settings.template.json` to `local.settings.json` and fill in the values there by the names, endpoints, keys from the first step.\n\n5. Run `func start` in `app/api/` folder. This will start Azure Functions locally.\n\n6. You might also want to fine-tune prompts, quickstarts, and suggestions in JSON files located in `app/api/promptengineering` and `app/promptengineering` folders. \n\nYou are fully ready to interact with your own assistant now!\n\n## About\n\n### Author\n\n[Maxim Salnikov](https://twitter.com/webmaxru). Feel free to contact me if you have any questions about the project, PWA, Web Push, etc.\n\n### License\n\nThis project is licensed under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmaxru%2Fenterprompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebmaxru%2Fenterprompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmaxru%2Fenterprompt/lists"}