Skill chat

Start a dialogue with a defined purpose.

See dialogue_management for details.

Input parameters

  • role string, default: __default__, required

    The name and configuration for the dialogue purpose (chatbot-dependent).

  • initiate boolean, default: False

    If true, the dialogue is opened and the robot initiates the conversation.

  • initial_input string, default: ""

    Optionally specify the utterance the chatbot initiates the conversation with. Otherwise, the chatbot may generate one based on the role. It is ignored if initiate is false.

  • person_id string, default: ""

    If targeting a specific person, the ID of the person.

  • group_id string, default: ""

    If targeting a group of people, the ID of the group (currently not supported).

  • meta.priority integer, default: 128

    Between 0 and 255. Higher value means that this skill invokation will have higher priority.

Output fields

  • role_result string

    A machine-readable serialized JSON object containing the result, depending on the role.

Quick snippets

Call the skill from the command-line

$ ros2 action send_goal /skill/chat communication_skills/action/Chat # then press Tab to complete the message prototype

See also