either with poetry or the given requirements.txt file
- install Poetry
- Tip: Make sure that your environment is install in the local folder for better overview by running
poetry config virtualenvs.in-project true- run
poetry installin the cloned folder
- make a new environment and run
pip install -r requirements.txt
flet run --web .\main.pythe most easy way is to register on OpenAI and create an API key.
- endpoint_base_url: https://api.openai.com/v1
- model_name: "gpt-3.5-turbo-0125"
- your api key from the OpenAI API
Add the enpoint using the interface. The Api-key handling and save storage is all handled automatically.
When running the shell command above, a browser window should pop up. To simulate multiple users, you can easily just duplicate the browser window with the same url and port (see video).