> 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/cha-jian-yu-ji-cheng/unreal-engine/guides/3d-chat-widget.md).

# 3D 聊天小部件

#### 设置 3D 聊天小部件的步骤

1. 前往以下 [Google Drive 链接](https://drive.google.com/drive/folders/109XAhnnozXsuIyx_68lkz0mhcFGXMSeE?usp=drive_link) 并下载 **Convai 便捷包**.
2. 解压该文件并将其放入 `ProjectDirectory/Content` 文件夹。

#### 添加 BP Convai 3DWidget 组件

1. 导航到你的玩家蓝图。
2. 前往 **视口** 标签页。

<figure><img src="/files/ac0e4ad0befe85cd2f4f6afa7eebcb1df7f2cc11" alt="" width="375"><figcaption></figcaption></figure>

3. 在……下方 **Components** 选项卡，点击 **Add** 按钮，搜索 **BP Convai 3DWidget 组件**，并将其添加。

<figure><img src="/files/4f112a0e235e0636674290e56bf321812bebcdbb" alt="" width="204"><figcaption></figcaption></figure>

4. 选择新添加的组件，并根据需要调整其变换。

<figure><img src="/files/cdc99f90971f8c5bc7a012edba9cb3989de423e3" alt="" width="375"><figcaption></figcaption></figure>


---

# 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:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/unreal-engine/guides/3d-chat-widget.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.
