-
-
Notifications
You must be signed in to change notification settings - Fork 232
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 setting issue #98
Comments
Take the example I have in the video demo This is your instance name: under Azure OpenAI resource see this below This is your deployment name: under Azure AI Studio see this below Let me know if this helps! |
I have followed your instructions to set up, but I'm not sure where I went wrong. I am receiving a LangChain error: 404.
丿ωo? 冷丶
***@***.***
…------------------ 原始邮件 ------------------
发件人: "logancyang/obsidian-copilot" ***@***.***>;
发送时间: 2023年7月5日(星期三) 中午11:48
***@***.***>;
抄送: "丿ωo? ***@***.******@***.***>;
主题: Re: [logancyang/obsidian-copilot] Azure setting issue (Issue #98)
Take the example I have in the video demo
This is your instance name: Azure OpenAI resource
This is your deployment name: Azure AI Studio
Let me know if this helps!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@likemuuxi can you show me your Azure pages just like the ones I posted? |
Looks alright to me. Are you able to curl it?
replace the params with yours |
https://chatgpt327-3.openai.azure.com/openai/deployments/GPT35/completions?api-version=2023-06-25\
|
No you need to curl it, clicking on the link won't work. Can you show me your terminal with the curl response? |
Ok curl doesn't work, means your params are not correct. Are you sure about the api-version? Can you make sure all your params are correct by testing using this curl command. Once this works, you will be able to use it properly in copilot. |
FYI, I saw 404 myself when I have wrong API version. It is not the model version you see in Azure page apparently. Try "2023-05-15" like I used in the video demo? |
This doesn't work, I wonder if it could be a problem with the deployment region of the model, as it affects API calls |
There's not much I can do to help debug your deployment. One helpful thing I tried was Azure's support chat, they are quite helpful, just let them help you figure out the right params, make sure curl works, and you will be able to use this plugin without an issue. Closing for now since this is not a Copilot issue. But I see Azure params can be hard to get right at first. Will put the curl command example in the FAQ. |
Thank you for your patient answer. I received inspiration and found various versions of the API on the following page. After modification, it can be used normally |
你好,请问你是怎么解决这个问题的?我也遇到了同样的问题:“LangChain error: 404.” |
|
我用了对应的api version,并在本插件中设置了token length,完全ok了。 |
可以使用即可,不用在意api version 具体区别我想应该去查阅帮助文档 |
yes,谢谢了,在Azure 部署模型中 没有找到变更api version 的入口。 |
You can get all the necessary info in one fell swoop by:
|
it works, thank you |
Help: Can you add an example of Azure settings? I'm not sure about the corresponding relationship between the settings options
The text was updated successfully, but these errors were encountered: