Talk with a video game character using OpenAI API
This app is using Python for the server-side and Flutter for the client-side app.
-
Python
-
Flutter -> Check if Flutter can run by typing "flutter doctor" (You need to add flutter to the path).
-
Docker
Its better if you have docker installed to easily access to a database.
Launch the installation script, it will install the dependencies for the python api and the flutter app.
Launch the bash script 'START.sh' and it will start the API and the front end interface.
You must create a .env file in the server folder and write API_KEY='your_api_key' inside of it.
To get your openAI API key :
-
Go to the OpenAI website (https://openai.com/) and click on the "Sign Up" button in the top right corner of the page.
-
Fill out the registration form with your email address, password, and other required information.
-
Verify your email address by clicking on the link sent to your email.
-
Once you have verified your email, log in to your account on the OpenAI website.
-
Click on the "API" button in the top right corner of the page.
-
Click on the "Create API Key" button.
-
Enter a name for your API key and select the scope(s) for the key.
-
Click on the "Create" button.
-
Your API key will be displayed on the screen.