rasa_sdk/forms.py
def from_intent(
        self,
        value: Any,
        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:
        - intent: value pair
        - 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_intent",
            "value": value,
            "intent": intent,
            "not_intent": not_intent,
        }
A dictionary for slot mapping to extract slot value.

        From:
        - intent: value pair
        - 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:
intent: value pair
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 : intent : value pair 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_intent(
        self,
        value: Any,
        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_intent",
            "value": value,
            "intent": intent,
            "not_intent": not_intent,
        }
def from_intent ( self , value : Any , 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_intent" , "value" : value , "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:
        - intent: value pair
        - conditioned on
            - intent if it is not None
            - not_intent if it is not None,
                meaning user intent should not be this intent
        """
self
value
Any
intent
Optional[Union[Text, List[Text]]]
not_intent
Optional[Union[Text, List[Text]]]