Giter Site home page Giter Site logo

Comments (8)

Issues-translate-bot avatar Issues-translate-bot commented on June 10, 2024

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


Title: [Bug] Why is the data passed by Azure gpt4 api in 2021?

from chatgpt-next-web.

AndyX-Net avatar AndyX-Net commented on June 10, 2024

我这测试似乎没有问题:

AzureOpenAI 操场:
image

当前部署模型:
image

NextWeb测试(匹配gpt-4-0125-preview):
image

检查微软官网文档:
https://learn.microsoft.com/zh-cn/azure/ai-services/openai/concepts/models

image

所以,你需要以微软官方文档为主,而不是只看模型版本。。。。。。。

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on June 10, 2024

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


There seems to be no problem with my test:

AzureOpenAI playground:
image

Current deployment model:
image

NextWeb test (matches gpt-4-0125-preview):
image

I suggest you check whether you selected the wrong model in the NextWeb interface.

from chatgpt-next-web.

AndyX-Net avatar AndyX-Net commented on June 10, 2024

Again, Check this:
https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on June 10, 2024

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


Again, Check this:
https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models

from chatgpt-next-web.

Rocky923 avatar Rocky923 commented on June 10, 2024

我这测试似乎没有问题:

AzureOpenAI 操场: image

当前部署模型: image

NextWeb测试(匹配gpt-4-0125-preview): image

检查微软官网文档: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/concepts/models

image

所以,你需要以微软官方文档为主,而不是只看模型版本。。。。。。。

@AndyX-Net 大佬,我尝试更换了模型还是有同样的问题,我的资源在澳洲,所以选择了1106-preview
image
image
在Azure ai中没有问题是2023年的
image
但是在我自己运行的Docker环境中,还是出现返回的是2021年,我已经将Azureai上其他模型全部删完了,只剩下gpt-4 (1106-preview)
image

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on June 10, 2024

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


There seems to be no problem with my test:

AzureOpenAI playground: ![image](https://private-user-images.githubusercontent.com/27819097/309213501-5a72a3a7-797e-439a-9422-92580e16c6f9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 .eyJpc3 MiOiJna xOTA5Ny8zMDkyMTM1MDEtNWE3MmEzYTctNzk3ZS00MzlhLTk0MjItOTI1ODBlMTZjNmY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQ TUzUFFLNFpBJTJGMjAyNDAzMDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzA0VDA3MzMzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM 3ZWJlNjVhMTc5MzI2N2M5MjU5NGMxOTA2N2IwMzI2ZGRmYTczMWJiNjM1OTQ0ZTk1YTk1N2ZiMjdhYTc4MWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcm Vwb19pZD0wIn0.oFoqsybKg_4i0PGUKBEu-j0hqlcP-K9jYhM6r2J9mkI)

Current deployment model: ![image](https://private-user-images.githubusercontent.com/27819097/309213533-382446b4-5fec-4c61-b473-10080fa0bcad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3Mi Oi Jna 8zMDkyMTM1MzMtMzgyNDQ2YjQtNWZlYy00YzYxLWI0NzMtMTAwODBmYTBiY2FkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzU FFLNFpBJTJGMjAyNDAzMDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzA0VDA3MzMzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjNj c5OWZiOTA2ZDY3ODZlZmQ5ODA2ZTFhMjMzZmY3NTM2Mzg1YmYyMjliYjQxMTRhNDM1ZmE2MjE5YWJkMDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19 pZD0wIn0.__9oL7wpnu4PwsFUP9_DWIt5n7zQAMxg4o5IgLc1GZg)

NextWeb test (matches gpt-4-0125-preview): ![image](https://private-user-images.githubusercontent.com/27819097/309213610-df2f65f5-ad6c-4991-89db-9934221be169.png?jwt =eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..0D_JtSfU8Z8RbY5ylZBhF5SHn7iEWbZ0ntgMZdox1JA)

Check Microsoft official website documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/concepts/models

![image](https://private-user-images.githubusercontent.com/27819097/309214601-effe0e98-182e-42cf-8daa-b085b72c104e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaX Rodriguez Q2MDEtZWZmZTBlOTgtMTgyZS00MmNmLThkYWEtYjA4NWI3MmMxMDRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGM jAyNDAzMDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzA0VDA3MzMzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJlNTBkZWNhODRiMzM zNTNkNWE2ZjQ5ODgxOGYzMmU5NzE4ZGI3YWZiZDhmMjgzZjhhNTdlMWE0Yzk0OGM4NzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Nr Twv_FpKYhwLuTfGGkWxCb4RjdvwIPzkZtyCFZy7kM)

Therefore, you need to focus on Microsoft official documents instead of just looking at the model version. . . . . . .

@AndyX-Net Boss, I tried changing the model and still have the same problem. My resources are in Australia, so I chose 1106-preview.
image
image
No problem in Azure ai is 2023
image
But in the Docker environment I run, the year 2021 still appears. I have deleted all other models on Azureai, leaving only gpt-4 (1106-preview).
image

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on June 10, 2024

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


AZUre-GPT4 needs to set the "max_tokens" value, otherwise the returned output will be truncated.
For example:
{
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": [
{
"type": "text",
"text": "Describe this picture:"
},
{
"type": "image_url",
"image_url": {
"url": ""
}
}
]
}
],
"max_tokens": 100,
"stream": false
}

from chatgpt-next-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.