rasa/core/interpreter.py
async def parse(self, text, message_id=None):
        """Parse a text message.

        Return a default value if the parsing of the text failed."""

        if self.lazy_init and self.interpreter is None:
            self._load_interpreter()
        result = self.interpreter.parse(text)

        # TODO: hotfix to append attributes that NLU is adding as a server
        #   but where the interpreter does not add them
        if result:
            result["model"] = "current"
            result["project"] = "default"
        return result
Parse a text message.

        Return a default value if the parsing of the text failed.
Parse a text message.
Return a default value if the parsing of the text failed.
Parse a text message . Return a default value if the parsing of the text failed .
async def parse(self, text, message_id=None):
        if self.lazy_init and self.interpreter is None:
            self._load_interpreter()
        result = self.interpreter.parse(text)
        if result:
            result["model"] = "current"
            result["project"] = "default"
        return result
async def parse ( self , text , message_id = None ) : if self . lazy_init and self . interpreter is None : self . _load_interpreter ( ) result = self . interpreter . parse ( text ) if result : result [ "model" ] = "current" result [ "project" ] = "default" return result
Parse a text message.
Parse a text message .
"""Parse a text message.

        Return a default value if the parsing of the text failed.""" # TODO: hotfix to append attributes that NLU is adding as a server #   but where the interpreter does not add them
self
text
message_id