Skip to content

Latest commit

 

History

History

flask-chatgpt-getting-started

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Join our community Follow @geneziodev

Genezio Flask ChatGPT Getting Started

In the index.py file, you will see the implementation of a Flask app that has two routes:

  • / - a chat with GPT-3.5-turbo
  • /reset - resets the chat

You can run the app locally by running the following commands:

pip install -r requirements.txt
python index.py

Deploy

🚀 You can deploy your own version of the template to Genezio with one click:

Deploy to Genezio

Genezio CLI Commands

Genezio also provides a CLI tool that you can use to deploy your project from your machine. All commands are run from the root of the project, from a terminal:

Command Action
npm install -g genezio Installs genezio globally
genezio login Logs in to genezio
genezio local Starts a local server
genezio deploy Deploys a production project
genezio --help Get help using genezio

Learn more

To learn more about Genezio, take a look at the following resources:

Contact

If you need support or you have any questions, please join us in our Discord channel. We'd love to chat!

Built With