ChitChatAssistant icon indicating copy to clipboard operation
ChitChatAssistant copied to clipboard

required_slots必填槽似乎不起作用

Open 2637278968 opened this issue 4 years ago • 0 comments

class WeatherForm(FormAction):

def name(self) -> Text:
    """Unique identifier of the form"""

    return "weather_form"

@staticmethod
def required_slots(tracker: Tracker) -> List[Text]:
    """A list of required slots that the form has to fill"""

    return ["date-time", "address"]

2637278968 avatar Mar 01 '20 15:03 2637278968