notice

This is unreleased documentation for Rasa Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).

Version: Main/Unreleased

rasa.core.http_interpreter

RasaNLUHttpInterpreter Objects

class RasaNLUHttpInterpreter()

Allows for an HTTP endpoint to be used to parse messages.

__init__

def __init__(endpoint_config: Optional[EndpointConfig] = None) -> None

Initializes a RasaNLUHttpInterpreter.

parse

async def parse(message: UserMessage) -> Dict[Text, Any]

Parse a text message.

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