-
Notifications
You must be signed in to change notification settings - Fork 4
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 OpenAI - Binder Error #118
Comments
Hi @tmbsundar, Thank you for your feedback! There's just a small update needed—replace
Apologies for the confusion! I'll work on updating the documentation and related to the endpoint URL, could you please let me know the exact requirements for the AZURE API or share any setup documentation? That would help me implement the changes quickly. Thanks again! |
Hi @dorbanianas - No problem. Thanks for the update and thanks for the work you are doing! Our set up is something like this: Azure OpenAI endpoint: https://openai-dev-eastus2-002.openai.azure.com I was able to create the secret as below with success:
What is the best way to create a model to call the llm and get the output? I tried the following:
and the following call:
But, I am getting the following error (the API key is fine though and is used in other applications etc.,):
|
@tmbsundar When you create the model, you want the provider to also be |
@queryproc Thank you. When I changed the provider to 'azure' and re-ran the query, I get the following error: Can you please just let know if the MODEL and SECRET calls above are in line with the endpoint URL I have provided or do they require to be changed or framed differently? I'll try the latest PR fix early next week and let you know. Should I be using the latest default install for that or a nightly clone/ build something? Thank you. |
That error is fixed through this PR which is not merged with the community extension mechanism. I will message you here once it is updated on the community extension side and you can update your install. |
@tmbsundar The bug fix release was merged within the community extensions. In order to update the extension:
If that doesn't work it might be worth updating through a force install:
|
@queryproc Thanks. I have updated the flockmtl CE version. I am getting the same error though:
|
@tmbsundar Let me look into this. I don't get your error when building from source or using our binaries but I do when I install through CE. |
Hi
I am trying to follow the documentation and trying to set up a Azure OpenAI connection.
DuckDB version: v1.1.3 19864453f7
flockmtl: 0.2.2 (As per yaml descriptor)
and ran a simple Hello World example.
For example, I am trying to create a Secret for a gpt-4o model:
I get the following error:
Binder Error: Unknown parameter 'resource_name' for secret type 'azure' with default provider 'config'
Trying many variations by removing one argument after another gives the same error.
Is there something which I am missing here?
Also, is there a way to pass the end point URL as in the TYPE OPENAI secret?
Thank you.
The text was updated successfully, but these errors were encountered: