Rasa Environment Setup Steps in Pycharm.png

For installing MYSQL database in PyCharm run the below command in PyCharm terminal.

COMMAND : pip install mysql-connector-python

Then make changes in actions.py file to save it to the database. For testing I am using xampp server and created a local database.

We can use NGROK to share or integrate locally created chatbot publicly.

To install flask framework in PyCharm run the below command in the terminal.

COMMAND : pip install Flask

FLASK FRAMEWORK:-

Flask is a lightweight web framework for Python that is designed to make it easy to build web applications quickly and efficiently. It follows the WSGI (Web Server Gateway Interface) specification, and its simplicity and flexibility make it a popular choice for developers.

Key Features of Flask:

  1. Minimalistic: Flask provides the essentials for web development without enforcing a particular project structure or dependencies, allowing developers to choose their own tools and libraries.
  2. Modular: You can easily add extensions to Flask to enhance its capabilities, such as database integration, form handling, authentication, and more.
  3. Built-in Development Server: Flask comes with a built-in server for easy development and testing.
  4. Routing: Flask makes it simple to define routes for your application, allowing you to map URLs to Python functions.
  5. Template Engine: It uses Jinja2 as its templating engine, enabling dynamic content generation and easy HTML rendering.
  6. RESTful Request Dispatching: Flask supports RESTful request handling, making it suitable for building APIs.

Common Use Cases: