-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
✨ Enable the use of an Azure api-key #77
Comments
If I am not wrong from reading this Azure OpenAI API key is a specific type of API key that allows you to access OpenAI's GPT-3 language model through the Azure Cognitive Services. This means that you can use the Azure portal to create and manage your Azure OpenAI API key, and you will be billed by Microsoft Azure for any usage of the API. On the other hand, the OpenAI API key is a general API key that allows you to access all of the OpenAI APIs, including GPT-3, through the OpenAI API platform. This means that you can create and manage your OpenAI API key through the OpenAI website, and you will be billed directly by OpenAI for any usage of the API. In summary, the main difference between the two API keys is the platform they are associated with and the billing method used for their usage. Azure OpenAI API key is associated with Azure Cognitive Services and is billed by Microsoft Azure, while OpenAI API key is associated with the OpenAI platform and is billed by OpenAI. |
I also want to use Azure api-key |
(auto-gpt) ➜ Auto-GPT git:(master) ✗ grep -nFR USE_AZURE * |
Hi all this is definitely a something we want to support. I can support by helping to review any prs for this 😊 |
Also need this feature, hope it will be supported soon |
me too pls, waiting for next release |
We'd like this feature as well, please. |
me too |
me too,please |
How is it going so far? I am already very excited about it |
me too |
me too,please |
I am digging into Azure Semantic Kernel and its examples... and most of them reference the following:
I had not idea that Embeddings require separate set of Name/Endpoint/Key... |
I have this working internally, at my current employer, with hardcoded I might, eventually, tidy it up and submit a PR. But it is not even close to a priority currently :/. I'm more than happy to provide any help if someone is implementing this and gets stuck. |
hey this was fixed in #1165 In settings.py you can now enable azure
Note that agentgpt uses function calling which is not supported by azure as of yet so it will fall back to openai in some cases :) |
I did manage to get it working, including functions. Versions 0613 support functions (source). I think Microsoft is rolling them out slowly. What I didn't manage to get working properly were the summaries because I don't have access to the 16k model. Idk if there's any solution there. |
hellow, even though I added those options as well.
However, it always says: Authentication error: Ensure a valid API key is being used. The next interface also only has the gpt3.5 gpt-3.5-16k gpt-4 option in the settings. It seems agentgpt is still using the openai api. What should I do? |
@Zizico2 |
I see that they deprecated the functions calling and added it under the tools API: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/function-calling?tabs=python. @awtkns maybe something to add to a new or existing feature? |
Azure api-key is different from openai api-key. And it should be used.
The text was updated successfully, but these errors were encountered: