README / README.md
alexgoodell's picture
Update README.md
79b9ec9 verified
|
raw
history blame
No virus
2.62 kB
metadata
title: README
emoji: 🦀
colorFrom: blue
colorTo: yellow
sdk: static
pinned: false

Synthetic Patients

image/png

Welcome

Welcome to our repository. Here, we have a collection of files and links to share our work on generating a new type of virtual patient with artificial intelligence.

Data

  • Patient profiles are available in the patient_profiles folder in this repository.
  • The underlying codebase for our application (excluding external packages) is available in the code folder of this repository.
  • To experiment with the platform and experience the realtime video chat applicaiton, we suggest using the containerized Docker version of the application.

Links

  • Our preprint (link pending)
  • A low-resolution demo video is below.
  • Video demonstration showcasing a prototype of our platform.
  • Presentation from the 2024 Association of Surgical Education.

Installation

To experiment with the realtime video chat application, you will need to run it locally. We have provided a docker container with the requirements. You will need: API keys for OpenAI and ElevenLabs to run this program; you will be prompted to provide them. You will need an account to both of these services to get the keys and will be charged for usage. These keys will only be stored within your instance of docker and will not be shared.

To begin, make sure that you have Docker installed. Then, from your command-line, run:

docker pull syntheticpatients/base

This will take a significant amount of time to download, as it currently is around 8GB. Once this has been completed, you can run the script by executing the following in your terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/synthetic-patients/install/main/run.sh)"

This will launch the synthetic patient server using your OpenAI and ElevenLabs API. Once the server has completed launching, direct your browser to http://localhost:5000/client to begin interacting.

Notes

  • Because of docker's audio limitations, voice-recognition has been disabled. You will need to input text through a text field.
  • Depending on the computer running the server, response times may be quite slow.

V

emo_low_res.mp4…]()