Playground for experimenting with the characteristics of a virtual companion to provide assistance in anxiety situations – built on GPT-3. The prototype is a simple web interface that allows the interaction with the companion through text.
Developed at the University of Applied Sciences Potsdam as part of the research project DISA (https://disa.fh-potsdam.de/), funded by the German Federal Ministry of Education and Research (BMBF).
Important note: in this state of development, the prototype should be used for research purposes only. Do not use it in real-life situations.
The virtual companion is called Boo and has the personality of a friendly ghost. The interface allows sharing thoughts or situations. Then Boo, acting like a ghostly councelor, will reframe that thoughts in positive ones with an empowering, friendly voice.
![Boo_Interface](https://private-user-images.githubusercontent.com/859148/266954230-837a63e8-2cd5-4cbc-a5c2-51beb6a7878e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NzEwNTMsIm5iZiI6MTczODg3MDc1MywicGF0aCI6Ii84NTkxNDgvMjY2OTU0MjMwLTgzN2E2M2U4LTJjZDUtNGNiYy1hNWMyLTUxYmViNmE3ODc4ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwNlQxOTM5MTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ODRkNDEyOWQ1MzJmZDQ5YzhjZmNkZWI4MzlhZGU2NTdkOTg2M2MzYTU0ZTEwNGE0MzJmN2RhYmRmZTllZWM5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Ll6cOwfQwWmlQiVWTUBf2d6zRY7zhjwsS2-QzYEyaJc)
The app builds on:
- OpenAI API quickstart tutorial
- Next.js framework with React
-
If you don’t have Node.js installed, install it from here
-
Clone this repository
-
Navigate into the project directory
$ cd disa-gotchi-gpt3
-
Install the requirements
$ npm install
-
Make a copy of the example environment variables file
$ cp .env.example .env
-
Add your OpenAI API key to the newly created
.env
file -
Run the app
$ npm run dev
You should now be able to access the app at http://localhost:3000