# 类型机器人

{% hint style="info" %}

### 逻辑-类型机器人组件

{% endhint %}

<figure><img src="/files/y0VnkqueO9de2pliFT0u" alt="" width="279"><figcaption></figcaption></figure>

{% hint style="info" %}
类型机器人组件：可以让你进入到另一个AI助手。

为什么有这个组件，主要是为了让工作流之间可以相互调用，这不仅让工作流整洁很多，还能够在多个地方重复使用同一个工作流。
{% endhint %}

<figure><img src="/files/adA43rloiH6PiwTEOxgo" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/IfBBOfTAnx4SnJBJniBV" alt="" width="272"><figcaption></figcaption></figure>

1、我们在“测试主流程”的编排行为中，选择类型机器人

2、在“类型机器人”组件里面，我们选择“另外一个AI助手”

这个时候，它就会从，“测试主流程”中直接跳转到另外一个工作流内

###

### **机器人之间共享变量（暂未实现）**

现有的变量值会自动共享给其他机器人。如果这个机器人包含了相似的变量名称，那么它将自动预先填充上一个机器人的值。

例如：我在第一个工作流询问用户名，并将其存储在`Name`的变量中。然后，我链接到另一个`Name，`在文本气泡中显示变量的工作流。那么它将显示第一个工作流内的名称。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.nyai.chat/jin-jie-jiao-cheng-gong-zuo-liu/luo-ji-zu-jian/lei-xing-ji-qi-ren.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
