Skip to content
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

Support Azure OpenAI urls #68

Closed
mborgraeve opened this issue Jul 6, 2023 · 1 comment
Closed

Support Azure OpenAI urls #68

mborgraeve opened this issue Jul 6, 2023 · 1 comment

Comments

@mborgraeve
Copy link

mborgraeve commented Jul 6, 2023

I'm not familiar with go, or I would do it myself.

The idea is to have a way to provide aiac with a way to customize urls, in order to be able to use Azure OpenAI URLs.
The API is the same, just the url has two variable parts, and the header containing the token is different.

As an example, the Azure tenant url is https://tenant.openai.azure.com/, and then the path for our model is my-gpt-35-turbo-deployment. The tenant and my-gpt-35-turbo-deployment are customizable.
The key should be in the header api-key.

Reference from Azure:
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference

@liavyona
Copy link
Contributor

liavyona commented Jul 18, 2023

Hi @mborgraeve
See #59 it is already implemented

aiac get --api-version="2023-05-15" --url="https://tenant.openai.azure.com/openai/deployments/testdeployment" terraform code for ssm paramter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants