- Chat application with NodeJS and React
- Chat Completion with gpt-3.5-turbo
- Data Extraction with gpt-3.5-turbo
- Vercel deployment ready
- Client priority decision engine example
For more basic example, please refer OpenAI API example pet name generator quickstart tutorial. It uses the Next.js framework with React. Check out the tutorial or follow the instructions below to get set up. AI Clinic Registrar is the copy of this repository.
- Politely refuses to interact in unnecessary conversation
- Prints voucher as soon as name and telephone is collected
- Politely tries to end the conversation if all data is collected
- Is aware that it is not eligible to answer any medical question or advice
-
If you don’t have Node.js installed, install it from here (Node.js version >= 14.6.0 required)
-
Clone this repository
-
Navigate into the project directory
cd ai-clinic-registrar npm install # for Linux: cp .env.example .env # for Windows: # copy .env.example .env
-
Add your API key to the newly created
.env
file. Ignore AWS keys. -
Run the app
npm run dev
You should now be able to access the app at http://localhost:3000.