> 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/other-integrations/roblox.md).

# Roblox

在 Roblox 游戏中集成 Convai 角色聊天机器人服务。

## 概述

Roblox 是由 Roblox Corporation 开发的在线游戏平台和游戏创作系统，允许用户编写游戏并游玩其他用户创建的游戏。这为开发带有智能、基于 AI 的 NPC 的游戏提供了一个理想平台，玩家可以与这些 NPC 互动，并体验一种全新的故事推进或整体玩法方式。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FTuFK9ixGVXtkDa2CPx07%2Flogo1.png?alt=media&amp;token=c79895a2-336f-4f79-ad33-08ac2bb3108f" alt=""><figcaption></figcaption></figure>

## 限制

Roblox 环境不支持充分发挥角色 API 端点全部潜力所需的许多关键功能。

{% hint style="warning" %}
Roblox 不允许创建音频文件
{% endhint %}

由于没有简单的方法在游戏中创建音频文件并播放，因此我们无法利用 Convai 的音频响应。

{% hint style="info" %}
Roblox 不允许麦克风访问
{% endhint %}

我们无法录制用户的音频并将其直接传递到服务器进行处理并生成响应。我们的限制是：只能通过请求体发送文本数据，并且只能从响应中接收和显示文本数据。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/other-integrations/roblox.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
