alexgoodell commited on
Commit
5b9e376
1 Parent(s): 8e76aab

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +56 -0
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: README
3
+ emoji: 🦀
4
+ colorFrom: blue
5
+ colorTo: yellow
6
+ sdk: static
7
+ pinned: true
8
+ ---
9
+
10
+ # Synthetic Patients
11
+
12
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6484c2be80f390fe86437928/vhfjTw_5GUpA_ksfOte9J.png)
13
+
14
+ # Welcome
15
+
16
+ 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.
17
+
18
+ ### Data
19
+
20
+ - Patient profiles are available in the ```patient_profiles``` folder in this repository.
21
+ - The underlying codebase for our application (excluding external packages) is available in the ```code``` folder of this repository.
22
+ - To experiment with the platform and experience the realtime video chat applicaiton, we suggest using the containerized Docker version of the application.
23
+
24
+ ### Links
25
+
26
+ - [Video demonstration](alxgd.s3.amazonaws.com/demo.mp4) showcasing a prototype of our platform.
27
+ - [Presentation](https://alx.gd/ase_presentation) from the 2024 Association of Surgical Education.
28
+
29
+ # Installation
30
+
31
+ To experiment with the realtime video chat application, you will need to run it locally. We have provided a [docker container](https://hub.docker.com/r/syntheticpatients/base) with the requirements.
32
+ You will need API keys for both OpenAI and ElevenLabs to run this program. The program will prompt you to provide them at runtime. You will need an account to both of these services to get the keys, and you will be charged for usage.
33
+ 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. For MacOS and Windows computers, we suggest [Docker Desktop](https://www.docker.com/products/docker-desktop/).
34
+ Then, from your command-line (terminal), run:
35
+
36
+ ```
37
+ docker pull syntheticpatients/base
38
+ ```
39
+
40
+ This will take a significant amount of time to download, as it currently is around 5GB. Once this has been completed, you can run the script by executing the following in your terminal:
41
+
42
+ ```
43
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/synthetic-patients/install/main/run.sh)"
44
+ ```
45
+
46
+ 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.
47
+
48
+ ### Notes
49
+
50
+ - Because of docker's audio limitations, voice-recognition has been disabled. You will need to input text through a text field.
51
+ - Depending on the computer running the server, response times may be quite slow (20-30 seconds on our consumer-grade machines).
52
+
53
+ ### Contact us
54
+
55
+ - Reach us at [[email protected]](mailto:[email protected]).
56
+ - We are looking for collaborators, investors, and implementation partners!