rasa_sdk/forms.py
def from_text(
        self,
        intent: Optional[Union[Text, List[Text]]] = None,
        not_intent: Optional[Union[Text, List[Text]]] = None,
    ) -> Dict[Text, Any]:
        """A dictionary for slot mapping to extract slot value.

        From:
        - a whole message
        - conditioned on
            - intent if it is not None
            - not_intent if it is not None,
                meaning user intent should not be this intent
        """

        intent, not_intent = self._list_intents(intent, not_intent)

        return {"type": "from_text", "intent": intent, "not_intent": not_intent}
A dictionary for slot mapping to extract slot value.

        From:
        - a whole message
        - conditioned on
            - intent if it is not None
            - not_intent if it is not None,
                meaning user intent should not be this intent
        
A dictionary for slot mapping to extract slot value.
From:
a whole message
conditioned on
intent if it is not None
not_intent if it is not None,
meaning user intent should not be this intent
A dictionary for slot mapping to extract slot value . From : a whole message conditioned on intent if it is not None not_intent if it is not None meaning user intent should not be this intent
def from_text(
        self,
        intent: Optional[Union[Text, List[Text]]] = None,
        not_intent: Optional[Union[Text, List[Text]]] = None,
    ) -> Dict[Text, Any]:
        intent, not_intent = self._list_intents(intent, not_intent)
        return {"type": "from_text", "intent": intent, "not_intent": not_intent}
def from_text ( self , intent : Optional [ Union [ Text , List [ Text ] ] ] = None , not_intent : Optional [ Union [ Text , List [ Text ] ] ] = None , ) -> Dict [ Text , Any ] : intent , not_intent = self . _list_intents ( intent , not_intent ) return { "type" : "from_text" , "intent" : intent , "not_intent" : not_intent }
A dictionary for slot mapping to extract slot value.
A dictionary for slot mapping to extract slot value .
"""A dictionary for slot mapping to extract slot value.

        From:
        - a whole message
        - conditioned on
            - intent if it is not None
            - not_intent if it is not None,
                meaning user intent should not be this intent
        """
self
intent
Optional[Union[Text, List[Text]]]
not_intent
Optional[Union[Text, List[Text]]]