To run the webapp locally, you need follow the following steps:
- Create a
.env
with the following keys:
OPENAI_ORGANIZATION=
OPENAI_API_KEY=
- Install the dependencies with
pip install openai chainlit
- Run
chainlit run web.py -w
to start interaction in a chat based environment for the web. - The web GUI would start at http://localhost:8000/.
To run the mobile app locally, make sure you have Flutter installed and configured on your system.
- The
app
directory of this repository contains all the code for the app. - Go to the
app
directory in a code editor (preferably Android Studio). - Type the following command to run the app in an emulator.
flutter run lib/main.dart
Both the above mentioned applications are powered by a Flask
server.
You can run the same by installing the dependencies and then running python server.py
.