-
Notifications
You must be signed in to change notification settings - Fork 386
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
[Bug] Cannot read properties of undefined (reading 'delta') #28
Comments
I'm really sorry that I keep disturbing the boss. This problem is indeed a problem that occurred during my personal use and is not within the scope of the solution. If I have offended you, please accept my apology. I did not mean to do so. |
Azure 版本的 OpenAI 接口虽然支持微调版本的模型,但是我试过他们接口的出参跟 OpenAI 官方接口的还是有区别,这个 langchain 并没有适配,所以这边调用插件的时候就报错了。 |
Although the Azure version of the OpenAI interface supports the fine-tuned version of the model, I have tried that the output parameters of their interface are still different from those of the official OpenAI interface. This langchain is not adapted, so when calling the plug-in here, an error is reported. |
好的,谢谢大佬,不麻烦大佬了,也就我自己使用,不浪费大佬时间了 |
Okay, thank you, boss. I won’t bother you anymore. I’ll just use it myself. I won’t waste your time. |
再次感谢大佬,几天不见,就出了好玩的插件,可以娱乐一段时间了,感谢大佬的付出,辛苦了 |
Thank you again, boss. After not seeing each other for a few days, a fun plug-in has been released, which can be used for entertainment for a while. Thank you for your hard work, boss. |
我看了一下,Azure 版本的 OpenAI 有个预览版的函数调用,可以试试把模型升级到 0613 版本并将 |
I took a look and found that the Azure version of OpenAI has a preview version of the function call. You can try upgrading the model to version 0613 and set |
|
我都没发现这个可以使用,牛 |
I didn't even find this can be used, awesome |
实在是不好意思,一直打扰大佬了。这个问题属实是我个人使用出现的问题,不在大佬解决范围内,如果有打扰冒犯大佬的地方,请接受我的道歉,我不是有意的。
![image](https://private-user-images.githubusercontent.com/70044239/269539863-f325f730-06c0-476f-a5f4-62969966ab7d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1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MjQwNjI4VDAwMDY1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAwNWJlYTRlOTBiMDI3NWI1MmJlZThkYzUzMjU2YTgyY2FhOTE2NjEwMDIwMGVhYWNkMWVjZjc0NmZkOTVhZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.r6Bm5raGWAOJVuKSqXX_JHxIK762N8EUMTm6wMaz_q0)
我使用 https://github.com/haibbo/cf-openai-azure-proxy 开源项目来把 Azure OpenAI 转为 ChatGPT 的格式,在 one-api 对接,然后再本项目使用,会出错,如下。
但在原版
Yidadaa/ ChatGPT-Next-Web
使用正常,这个问题该怎么解决?我真的不是有意打扰大佬您的,如果大佬有什么需要,我可以提供 Azure OpenAI 所有参数。
The text was updated successfully, but these errors were encountered: