Chatbot developed with Python and Flask that features conversation with a virtual assistant. This uses the native conversation stream without any local or indexed context but powered by the new GPT3.5-Turbo model which is cheaper and faster than the other available models for chat. It allows to define an initial role and personification.
-
Define necessary parameters (OpenAi API key, ...) on file 'app.py'
-
Initialize virtual environment and install dependencies, run:
virtualenv env env\Scripts\activate pip install flask python-dotenv pip install openai
-
Initialize the app:
flask run
-
Enter "http://localhost:5000" on browser to interact with app
- v0.1
- initial build