> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/create-a-chat-experience.md).

# 创建聊天体验

为聊天体验命名，选择房间类型，编写其用途，并创建一个会向你添加的每个角色发送简报的房间。

创建聊天体验会确定这个房间的用途：你写的房间类型和目的，会成为每个角色加入时收到的简报。创建对话框是唯一可以更改这些措辞的地方。使用此页面为体验命名、选择房间类型、撰写目的，并在其固定之前查看简报。

### 前提条件

* **我的体验** 在 Convai 仪表板中打开。参见 [打开“我的体验”](/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/open-my-experiences.md).
* 一个显示……的 Convai 账户 **创建聊天体验** 于 **我的体验**。参见 [使用聊天体验所需内容](/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/prerequisites.md).
* 关于这段对话用途的决定。目的字段用于承载它。

### 创建体验

{% hint style="warning" %}
**创建体验** 会永久确定房间类型、目的和简报。选择前先阅读简报框。
{% endhint %}

{% stepper %}
{% step %}

#### 打开创建对话框

在 **我的体验**，选择 **创建聊天体验**.

该 **创建聊天体验** 对话框会在 **焦点小组** 房间类型上打开，并且该类型已经预填了名称和目的。其副标题写着“先设定场景。无论是一个角色还是整个房间，每个角色在加入时都会收到这份简报。”
{% endstep %}

{% step %}

#### 为体验命名

将 **体验名称** 中的文本替换为你自己的房间名称。该字段最多可容纳 80 个字符。

名称就是你以后在 **我的体验**中再次找到该体验的方式。它不是简报的一部分。
{% endstep %}

{% step %}

#### 选择房间类型

打开 **房间类型** 菜单并选择六种类型之一： **焦点小组**, **课堂**, **会议模拟**, **头脑风暴**, **朋友聊天**，或者 **自定义**。每一种在菜单中都带有一行描述。

房间类型决定了对话进行的模式。有些类型由你掌控，角色会在被点名时回应；另一些类型则完全没有领导者。选择不同的类型会替换预填的名称和目的，除非你已经输入了自己的内容。

**自定义** 是唯一一种以空白的 **目的** 字段开头的类型。直到你写入目的， **每个角色将会被告知的内容** 显示的是示例简报，而不是你的简报，并且无法输入内容。

关于每种类型设定的规则及其预填的目的，请参见 [房间类型参考](/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/the-room-brief/room-types-reference.md).
{% endstep %}

{% step %}

#### 撰写目的

在 **目的**中，描述这段对话是关于什么的。五种预设房间类型都会预先写入一个目的；你可以编辑或替换它。

在该字段下方，一行带锁提示说明接下来会发生什么：“房间类型和目的将成为每个角色收到的简报。创建后无法更改。”
{% endstep %}

{% step %}

#### 阅读简报

**每个角色将会被告知的内容**，下方 **目的**，已经打开。该框包含根据你输入的房间类型和目的撰写的简报。

这是你唯一可以更改措辞的时刻：直接覆盖它，角色就会收到你写下的内容。 **创建体验** 在该框为空时保持不可用。参见 [编写你自己的简报](/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/the-room-brief/write-your-own-briefing.md) 用于重写简报以及将为你写好的版本放回去。
{% endstep %}

{% step %}

#### 创建它

选择 **创建体验**.

**创建体验** 在 **体验名称** 和 **目的** 和
{% endstep %}
{% endstepper %}

### 都里面有文字之前不可用。保存体验时，这些字段会变灰，页脚显示“正在保存…”。随后对话框关闭，新房间打开。

新的聊天体验会作为一个空房间打开。里面尚未说过任何话，也还没有任何人。一个新房间有四个部分：

| 房间的部分 | 显示内容                                                             |
| ----- | ---------------------------------------------------------------- |
| 顶部栏   | 体验名称、用于重命名体验的铅笔图标、房间类型、房间 ID、一个 **仅文本** 标签， **之前的会话**，以及三点房间控制菜单 |
| 线程    | 一个置顶的 **房间简报** 显示目的以及编写简报所依据的房间类型规则的卡片，以及标题 **房间里还没有人**          |
| 侧边栏   | 该 **在此房间中** 部分，带有一张卡片，写着 **添加参与者** 以及“每个角色一加入就会收到房间简报。”          |
| 消息框   | 锁定，且 **至少添加一位参与者才能开始** 代替通常提示语                                   |

房间中的每个控件都列在 [房间控制参考](/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/running-the-room/room-controls-reference.md).

### 体验存在后哪些内容是固定的

房间类型、目的和简报在体验创建后无法更改。房间里或 **我的体验** 上没有任何控件可以编辑它们；房间会在简报旁显示一个 **创建时固定** 锁图标。参见 [为什么简报不能更改](/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/the-room-brief/why-the-brief-cannot-be-changed.md).

两个内容仍然可以更改：

* **名称。** 使用房间名称旁边的铅笔图标，或 **重命名** 在体验的菜单中。
* **新体验中的措辞。** **复制并使用新的简报** 会以该体验预填所有字段，重新打开创建对话框，且所有字段再次可编辑。参见 [管理你的聊天体验](/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/manage-your-chat-experiences.md).

### 后续步骤

在你把角色安置进去之前，房间都是空的。添加角色后，消息框会解锁。

{% content-ref url="/pages/e66e9e0ec4110edb5e946c0e1dc157bf6fcf6b0a" %}
[向房间添加角色](/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/add-characters-to-the-room.md)
{% endcontent-ref %}

要在创建体验之前，用你自己的话替换为你预先写好的简报，请详细填写简报框。

{% content-ref url="/pages/d7f01a946536f2d04de02930a02801e454f2a82e" %}
[编写你自己的简报](/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/the-room-brief/write-your-own-briefing.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.convai.com/api-docs/zh/wu-dai-ma-ti-yan/chat-experiences/create-a-chat-experience.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
