# 文本

{% hint style="info" %}

### 输入-文本组件

{% endhint %}

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

###

{% hint style="info" %}
将答案保存在变量中：主要作用是传递参数；就是把用户输入的内容，作为保存到对应的“变量”中，这样可以通过变量，传递给下一个组件。
{% endhint %}

例如：

我们在输入文本组件内，设置一个变量为name，然后通过变量的形式，传给下一个气泡组件

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

当我们运行后，它将在气泡中，展示你输入的内容

<figure><img src="/files/9HKSe4XATOUansR2yN4f" alt=""><figcaption></figcaption></figure>


---

# 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/shu-ru-zu-jian/wen-ben.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.
