Skip to content

System


Get Ip

  • Description: Retrieve the robot's current IP address.

  • Endpoint: /api/v1/dict/

  • Type of Argument: Dict

  • JSON Example:

    {
      "command": "skill",
      "value": {
        "name": "get_ip"
      }
    }
    

Update Prompt

  • Description: Update current prompt of the robot.

  • Args:

    • prompt (str): New prompt to use on the robot
  • Endpoint: /api/v1/dict/

  • Type of Argument: Dict

  • JSON Example:

    {
      "command": "skill",
      "value": {
        "name": "update_prompt",
        "prompt": prompt
      }
    }
    

Get Prompt

  • Description: Get current prompt of the robot.

  • Endpoint: /api/v1/dict/

  • Type of Argument: Dict

  • JSON Example:

    {
      "command": "skill",
      "value": {
        "name": "get_prompt"
      }
    }
    

Clear Semantic Events

  • Description: Clear events list in semantic memory.

  • Endpoint: /api/v1/dict/

  • Type of Argument: Dict

  • JSON Example:

    {
      "command": "skill",
      "value": {
        "name": "clear_semantic_events"
      }
    }
    

Reload Prompt

  • Description: Reload current prompts.

  • Endpoint: /api/v1/dict/

  • Type of Argument: Dict

  • JSON Example:

    {
      "command": "skill",
      "value": {
        "name": "reload_prompt"
      }
    }
    

Set Runtime Prompt

  • Description: Update a value for a key in the runtime prompt.

  • Endpoint: /api/v1/dict/

  • Type of Argument: Dict

  • JSON Example:

    {
      "command": "skill",
      "value": {
        "name": "set_runtime_prompt",
        "key": key,
        "value": value
      }
    }