{"id":21942820,"url":"https://github.com/react-declarative/chatgpt-ecommerce-prompt","last_synced_at":"2026-04-17T00:31:08.832Z","repository":{"id":238034244,"uuid":"786090987","full_name":"react-declarative/chatgpt-ecommerce-prompt","owner":"react-declarative","description":"A zero-config offline ChatGPT, no OpenAI Token need. This tool that can provide quick and accurate responses to a wide range of pharma products","archived":false,"fork":false,"pushed_at":"2024-05-30T10:31:52.000Z","size":811,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T13:03:41.892Z","etag":null,"topics":["ai","chatgpt","chromadb","database","gpt-4","gpt4all","lead","ml","openai","product","sales"],"latest_commit_sha":null,"homepage":"https://github.com/react-declarative/react-declarative","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/react-declarative.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-04-13T11:58:11.000Z","updated_at":"2024-05-30T10:31:55.000Z","dependencies_parsed_at":"2024-05-04T00:28:02.772Z","dependency_job_id":null,"html_url":"https://github.com/react-declarative/chatgpt-ecommerce-prompt","commit_stats":null,"previous_names":["react-declarative/chatgpt-ecommerce-prompt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/react-declarative/chatgpt-ecommerce-prompt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-declarative%2Fchatgpt-ecommerce-prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-declarative%2Fchatgpt-ecommerce-prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-declarative%2Fchatgpt-ecommerce-prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-declarative%2Fchatgpt-ecommerce-prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-declarative","download_url":"https://codeload.github.com/react-declarative/chatgpt-ecommerce-prompt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-declarative%2Fchatgpt-ecommerce-prompt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31909837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ai","chatgpt","chromadb","database","gpt-4","gpt4all","lead","ml","openai","product","sales"],"created_at":"2024-11-29T03:26:41.759Z","updated_at":"2026-04-17T00:31:08.755Z","avatar_url":"https://github.com/react-declarative.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatGPT Pharma Seller\n\n\u003e A zero-config offline ChatGPT, no OpenAI Token need. This tool that can provide quick and accurate responses to a wide range of pharma products \n\n![screenshot](./docs/screenshot5.png)\n\n## Contribute\n\n\u003e [!IMPORTANT]\n\u003e Made by using [react-declarative](https://github.com/react-declarative/react-declarative) to solve your problems. **⭐Star** and **💻Fork** It on github will be appreciated\n\n## Setup\n\nInstall [Docker](https://www.docker.com/). Launch the [postinstall](./scripts/postinstall.sh) script or run `npm install` in [the root](./package.json), the [packages/chat](./packages/chat/package.json) and the [packages/frontend](./packages/frontend/package.json) dictionaries.\n\n```bash\ndos2unix ./scripts/postinstall.sh\nsh ./scripts/postinstall.sh\n```\n\n## Usage\n\n1. Run ChromeDB in the Docker container\n\n```bash\ndocker run -p 8000:8000 chromadb/chroma\n```\n\n2. Start [json-server](https://github.com/typicode/lowdb) with product database\n\n```bash\nnpm run start:jsonserver\n```\n\n3. Start [frontend](https://github.com/react-declarative/react-declarative) to updata product list\n\n```bash\nnpm run start:frontend\n```\n\n4. Open ChatGPT [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop) and ask for a product\n\n```bash\nnpm run start:chatgpt\n```\n\n## Prompt engineering\n\n\u003e The AI Prompt store in [PROMPT.txt](./PROMPT.txt) so the app can adapt to any other database schema\n\n```html\nYou are an advanced sales officer providing helpful advice. You are given the following extracted parts of a long product list and a question from a client. \nProvide a sales recomendation based on the product list provided. If you can't find the product to recomend in the list below, just say \n\"Hmm, I'm not sure.\" Don't try to make up an answer. If the question is not related to the product list, politely respond \nthat you are tuned to only answer questions that are related to the product list. Answer briefly with short description, ignore every other products.\nRecommend THE ONLY ONE PRODUCT. If user ask you if you ever used some products say yes\n```\n\n## Screenshots\n\n\u003e Product list can be easily changed by using GUI tool.\n\n![screenshot](./docs/screenshot2.png)\n\n\u003e Product can be removed, edited, created\n\n![screenshot](./docs/screenshot4.png)\n\n\u003e Products can be filtered by several criteria\n\n![screenshot](./docs/screenshot3.png)\n\n## Also\n\nMake sure you have installed [tools for native modules](https://www.npmjs.com/package/windows-build-tools)\n\n![screenshot](./docs/screenshot7.png)\n\nReinstall NodeJS with this checkbox if you have not installed them\n\n![screenshot](./docs/screenshot6.png)\n\nIf you won't to reinstall, try running `choco install python;visualstudio2019-workload-vctools` for NodeJS 20.12.1\nIt requires [Chocolatey](https://chocolatey.org/) package manager\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-declarative%2Fchatgpt-ecommerce-prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-declarative%2Fchatgpt-ecommerce-prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-declarative%2Fchatgpt-ecommerce-prompt/lists"}