跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[OpenAI] OpenAI(Claude)使用第三方接口代理进行文件上传的问题

发表于
目前因为 OpenAI 和 Claude 对回话中上传的文件有大小限制, 我现在想对一个 pdf 中的内容进行提取和分析, 所以想先切片后调用接口进行分析.

但是在使用 aihubmix 的接口进行转发调用的时候提示
```
{
"error": {
"message": "当前分组 default 下对于模型 无可用渠道 (request id: 2024091009055386372910777835344)",
"type": "Aihubmix_api_error"
}
}
```
跟客户沟通后说不支持这类接口, 但是一想好像不对劲, 如果只是请求转发的话应该是支持的吧? 而且感觉文件上传的场景挺多的(文本分析, 图片识别). 但是对比查看了 aihubmix 和 OpenAI 以及 Claude 的 API 文档也没发现可参考的地方.(文字提问测试没问题,但是文件上传不行)

请问各位使用第三方接口代理的时候, 是怎么处理的呢? 目前 OpenAI 需要先上传文件之后, 再根据文件 id 进行后续处理
附上测试请求的内容
```
curl --location 'https://aihubmix.com/v1/files' \
--header 'Authorization: ••••••' \
--form 'purpose="assistants"' \
--form 'file=@"/xxxx/split_pages/page_20.jpg"'
```

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.