vps交流

为什么openai知道我说国内流量?


收到了这个邮件

  1. Our data shows that your organization has API traffic from a region that OpenAI does not currently support. You can find the supported countries and territories here. We will be taking additional measures to block API traffic from regions that are not on our supported countries and territories list starting on July 9. To continue using OpenAI’s services, you will need to access the service in a supported region.

复制代码

这是我的转发程序

  1. def proxy_to_openai(path):
  2.     openai_base = "https://api.openai.com"
  3.     auth_header = {"Authorization": f"Bearer {api_key}"}
  4.     headers = {"Content-Type": "application/json"}
  5.     headers.update(auth_header)
  6.     response = requests.request(
  7.         request.method,
  8.         openai_base + "/" + path,
  9.         headers=headers,
  10.         params=request.args or None,
  11.         data=request.data or None,
  12.         stream=True,
  13.     )
  14.     response.headers.pop("Content-Encoding", None)
  15.     response.headers.pop("Transfer-Encoding", None)
  16.     return app.response_class(response=response, status=response.status_code, headers=dict(response.headers))

复制代码

程序放在圣何塞的机器上, 但还是收到了警告邮件.

有大佬知道为什么吗?

因为你用中文问问题阿 为什么openai知道我说国内流量?

thaizxj 发表于 2024-6-25 14:21
因为你用中文问问题阿

为什么openai知道我说国内流量? 不会吧??? 那还玩毛啊。。

thaizxj 发表于 2024-6-25 14:21
因为你用中文问问题阿

我天天用ZH-CN问,以后不能了吗?

是不是炸胡的 中转了难不成还封?

Marss 发表于 2024-6-25 14:25
我天天用ZH-CN问,以后不能了吗?

美国的IP  都是用中文     一看就是CN的人在使用阿

dragonfsky 发表于 2024-6-25 14:25
是不是炸胡的 中转了难不成还封?

是啊 我是没想出来原因。。

这么说,我以后要用英文问问题了….(无语,看着费劲)

thaizxj 发表于 2024-6-25 14:26
美国的IP  都是用中文     一看就是CN的人在使用阿

马来西亚、新加坡不也用中文吗

CN也有很多华裔用的啊。他靠这个判断不太可能
赞(0)
版权声明:本贴采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
帖子名称:《为什么openai知道我说国内流量?》
帖子链接:https://bbs.toot.su/178963.html

相关推荐