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
Important
Made by using react-declarative to solve your problems. ⭐Star and 💻Fork It on github will be appreciated
Install Docker. Launch the postinstall script or run npm install
in the root, the packages/chat and the packages/frontend dictionaries.
dos2unix ./scripts/postinstall.sh
sh ./scripts/postinstall.sh
- Run ChromeDB in the Docker container
docker run -p 8000:8000 chromadb/chroma
- Start json-server with product database
npm run start:jsonserver
- Start frontend to updata product list
npm run start:frontend
- Open ChatGPT REPL and ask for a product
npm run start:chatgpt
The AI Prompt store in PROMPT.txt so the app can adapt to any other database schema
You 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.
Provide a sales recomendation based on the product list provided. If you can't find the product to recomend in the list below, just say
"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
that you are tuned to only answer questions that are related to the product list. Answer briefly with short description, ignore every other products.
Recommend THE ONLY ONE PRODUCT. If user ask you if you ever used some products say yes
Product list can be easily changed by using GUI tool.
Product can be removed, edited, created
Products can be filtered by several criteria
Make sure you have installed tools for native modules
Reinstall NodeJS with this checkbox if you have not installed them
If you won't to reinstall, try running choco install python;visualstudio2019-workload-vctools
for NodeJS 20.12.1
It requires Chocolatey package manager