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: Can't seem to get it to work #137
Comments
Can you share the logs of the workers container? Also in the example you shared, do you have an extra slash after "https" or is that just a typo? |
Sorry was just a typo in my post - here is a screen shot of the actual config section for openai. Logs: Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-9.0.6.tgz.
|
I'm not sure if this means that the url is incorrect or the model name is incorrect. It might also be that the azure api not compatible with the openai sdk. I'll need to do more research. |
Maybe try using this as your base url 'https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME' and the version as the model name? Just a guess from: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference |
Also how are you making the call (REST?) You might want to look at this: |
I have added the
OPENAI_BASE_URL: https:///xxxx.openai.azure.com
OPENAI_API_KEY: API Key from Azure Portal
INFERENCE_TEXT_MODEL: GPT4
INFERENCE_IMAGE_MODEL: GPT4
The deployment is setup as:
The name is GPT4:
I go in and add a bookmark and one gets added, but no tags are added to it. If I understand this correctly, isn;t it supposed to use GPT to auto tag, etc?
BTW I have some python code that uses this deployment with the same endpoint and Key, using the new api_version = "2024-03-01-preview" and it works.
The text was updated successfully, but these errors were encountered: