# 生产

## Afarensis GPT 生产中的操作

Afarensis GPT提供了一种连接到外部应用程序的方法。如果用户与 GPT 的自定义操作交互，ChatGPT 可能会将其部分对话发送到该操作的端点。

### 速率限制

为了保证服务的稳定性，您可能需要在公开的 API 终端节点上实施速率限制。ChatGPT 将尊重 429 响应代码，并在短时间内收到一定数量的 429 或 500 后动态退出向您的操作发送请求。

### 超时

在操作体验期间进行 API 调用时，如果超过以下阈值，则会发生超时：API 调用往返 45 秒。

### 使用 TLS 和 HTTPS

为了保证数据的安全传输，流向操作的所有流量都必须在端口 443 上使用具有有效公有证书的 TLS 1.2 或更高版本。

### IP 出口范围

ChatGPT 将从以下 CIDR 块之一的 IP 地址调用您的操作：

* 23.102.140.112/28
* 13.66.11.96/28
* 104.210.133.240/28

您可能希望明确地将这些 IP 地址列入允许列表。

### 如何使用操作数据？

操作将 ChatGPT 连接到外部应用程序。如果用户与 GPT 的自定义操作交互，ChatGPT 可能会将其部分对话发送到该操作的端点。


---

# 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.afarensis.com/xing-dong/sheng-chan.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.
