rasa/core/training/interactive.py
async def _enter_user_message(sender_id: Text,
                              endpoint: EndpointConfig) -> None:
    """Request a new message from the user."""

    question = questionary.text("Your input ->")

    message = await _ask_questions(question, sender_id, endpoint,
                                   lambda a: not a)

    if message == (INTENT_MESSAGE_PREFIX + constants.USER_INTENT_RESTART):
        raise RestartConversation()

    await send_message(endpoint, sender_id, message)
Request a new message from the user.
Request a new message from the user.
Request a new message from the user .
async def _enter_user_message(sender_id: Text,
                              endpoint: EndpointConfig) -> None:
    question = questionary.text("Your input ->")
    message = await _ask_questions(question, sender_id, endpoint,
                                   lambda a: not a)
    if message == (INTENT_MESSAGE_PREFIX + constants.USER_INTENT_RESTART):
        raise RestartConversation()
    await send_message(endpoint, sender_id, message)
async def _enter_user_message ( sender_id : Text , endpoint : EndpointConfig ) -> None : question = questionary . text ( "Your input ->" ) message = await _ask_questions ( question , sender_id , endpoint , lambda a : not a ) if message == ( INTENT_MESSAGE_PREFIX + constants . USER_INTENT_RESTART ) : raise RestartConversation ( ) await send_message ( endpoint , sender_id , message )
Request a new message from the user.
Request a new message from the user .
"""Request a new message from the user."""
sender_id
Text
endpoint
EndpointConfig