All - Activity - haydn04 - Rasa Community Forum

Telegram / Request and handle location

I found the problem and explained below. Hope you see my message and hope you are still working on your project.

Inputting user data to MySQL

I faced this question before. And I figured we just need an intent and train it in nlu.yml. I forget how is the text and you can print the full_message of the latest message and find the ‘text:’ and copy the format to the nlu.yml. I maybe it is too late to help you but hope it can help others in the...

Code Example


def validate_username(self, slot_value: Any, dispatcher: CollectingDispatcher, tracker: Tracker, domain: DomainDict) -> Dict[Text, Any]:

name = str(slot_value)
    new = tracker.get_slot('new')

try:
        connect= mysql.connector.connect(host="localhost", user="root", password="", ...

First of all, sorry for my poor English. For my project, I want to let the user input their name and password to store their data. I am now planning to use forms to do the check slots. My problems here is the data validation always interrupted and detected to be another intent. I don’t know if my r...