owos / asake-logistics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asake Logistics 💬

Information

  • Author :
  • API :

Operation

The chatbot is for logistics.

Development 🔴

Actions

action_show_character

Responsible for selecting a random character from the api, showing the character and saving it in the database.

action_show_history

Responsible for showing all characters that were stored in the database.


Using Rasa

$ rasa init // Creating a folder with initial config
$ rasa train // Training the model
    --fixed-model-name // Flag to generate model with specific name
$ rasa run actions // Remember to restart whenever there are changes
$ rasa shell // Testing model functionality
    -vv // Flag to show more details
$ rasa interactive // ​​Helps in defining a story

Using Webchat

$ rasa run actions // Server responsible for actions
$ rasa run --enable-api --cors="*" // Enabling communication between servers
$ python3 -m http.server // Server Frontend

Using Docker

Bot-3 performs the integration of bot-2 in docker, uploading the application in 4 parts:

  • Shallow
  • Actions
  • Web
  • Ngrok
$ docker-compose up // Uploading the application locally

Using Okteto

  • The application can be accessed through Okteto.
$ okteto stack deploy --build // Building from docker-compose

Technologies and dependencies 📚

About


Languages

Language:Python 81.4%Language:HTML 14.0%Language:Dockerfile 2.6%Language:JavaScript 1.1%Language:CSS 0.5%Language:Shell 0.4%