Skip to content

rimvydasb/ai-clinic-registrar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Clinic Registrar with OpenAI

  • 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.

Example conversation:

AI Assistant Features

  • 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

Setup

  1. If you don’t have Node.js installed, install it from here (Node.js version >= 14.6.0 required)

  2. Clone this repository

  3. Navigate into the project directory

    cd ai-clinic-registrar
    npm install
    # for Linux:
    cp .env.example .env
    # for Windows:
    # copy .env.example .env 
  4. Add your API key to the newly created .env file. Ignore AWS keys.

  5. Run the app

    npm run dev

You should now be able to access the app at http://localhost:3000.