Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure gpt-4-turbo-2024-04-09 没有响应,响应被截断或中断了。[Bug] #4624

Open
3 tasks
jmartinezb3 opened this issue May 6, 2024 · 14 comments
Open
3 tasks
Labels
bug Something isn't working

Comments

@jmartinezb3
Copy link

Bug Description

在这个例子中,当请求模型定义图像时,模型没有完全回应,只显示了部分回应。我已经调整了最大生成令牌数参数来检查是否是这个问题,但它仍然不起作用。我还修改了在Azure上的模型部署参数,但我仍然得到相同的结果。这让我认为这可能是用户界面的问题,而不是模型配置的问题。

Steps to Reproduce

像往常一样使用模型

Expected Behavior

完整的答案。

Screenshots

Test2

Test

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

Windows 10, 桌面应用程序. v2.12.2

Desktop Browser

No response

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

@jmartinezb3 jmartinezb3 added the bug Something isn't working label May 6, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: Azure gpt-4-turbo-2024-04-09 is not responding, the response was truncated or interrupted. [Bug]

@Dean-YZG
Copy link
Contributor

Dean-YZG commented May 6, 2024

my Azure gpt-4-turbo-2024-04-09 doesnt even support image

@Dean-YZG
Copy link
Contributor

Dean-YZG commented May 6, 2024

@jmartinezb3
Copy link
Author

jmartinezb3 commented May 6, 2024

my Azure gpt-4-turbo-2024-04-09 doesnt even support image

This is not true. If you call the API with a Python or JS script, it does support images. It is literally one of the main functions of the model.

Furthermore, if it didn't support images, in the screenshot I sent, the model wouldn't know what I'm talking about. However, that's not the case. The issue is that the responses are not being displayed correctly. @Dean-YZG

@doherty88
Copy link

我也遇到这样的问题,用的是azure平台的gtp-4-turbo,文本问题回答ok的,只要上传图片的回答,答案会被截断

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I also encountered such a problem. I used gtp-4-turbo on the azure platform. The text questions were answered ok, but as long as I uploaded the image answer, the answer would be truncated.

@jmartinezb3
Copy link
Author

我也遇到这样的问题,用的是azure平台的gtp-4-turbo,文本问题回答ok的,只要上传图片的回答,答案会被截断

@doherty88 这似乎是关于如何处理带有图像的请求的问题。当模型需要使用其视觉能力时,图形界面无法正确处理请求。在Azure playground中,它可以被正确使用,所以这不是模型或Azure配置的问题。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I also encountered such a problem. I used gtp-4-turbo on the azure platform. Answers to text questions were ok, but as long as I uploaded image answers, the answers would be truncated.

@doherty88 This seems to be an issue with how to handle requests with images. When the model needs to use its visual capabilities, the graphical interface does not handle the request correctly. In the Azure playground, it is used correctly, so it's not a problem with the model or the Azure configuration.

@libli
Copy link

libli commented May 11, 2024

同样问题,我对比了一下,看起来是流式响应时,第二段及后续的响应和openai官方api响应的结构不一样。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I have the same problem. I compared it. It seems that when it is a streaming response, the structure of the second and subsequent responses is different from the openai official api response.

@Dean-YZG
Copy link
Contributor

同样问题,我对比了一下,看起来是流式响应时,第二段及后续的响应和openai官方api响应的结构不一样。

有响应的截图么?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I have the same problem. I compared it. It seems that when it is a streaming response, the structure of the second and subsequent responses is different from the openai official api response.

Do you have any screenshots of the response?

@Dean-YZG
Copy link
Contributor

my Azure gpt-4-turbo-2024-04-09 doesnt even support image

This is not true. If you call the API with a Python or JS script, it does support images. It is literally one of the main functions of the model.

Furthermore, if it didn't support images, in the screenshot I sent, the model wouldn't know what I'm talking about. However, that's not the case. The issue is that the responses are not being displayed correctly. @Dean-YZG

i agree with you, do you have any screenshots of the response?

@jmartinezb3
Copy link
Author

Hello, yes, @Dean-YZG

This is the response using custom proxy from https://github.com/haibbo/cf-openai-azure-proxy

这是使用 https://github.com/haibbo/cf-openai-azure-proxy 提供的自定义代理的响应。

imagen
imagen

This is the response using usual Azure API configuration.

这是使用通常的 Azure API 配置的响应。

imagen
imagen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants