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

Update openai module and add network link #42

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

soferreira
Copy link
Collaborator

@soferreira soferreira commented Oct 10, 2024

Purpose

Replace openai with avm-res-cognitiveservices-account module.
Add azurerm_private_dns_zone and azurerm_private_dns_zone_virtual_network_link resource as they are not created by the new module automatically.

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

@soferreira soferreira requested a review from zioproto October 10, 2024 15:00
infra/openai.tf Outdated Show resolved Hide resolved
infra/variables.tf Outdated Show resolved Hide resolved
infra/variables.tf Outdated Show resolved Hide resolved
Copy link
Collaborator

@zioproto zioproto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@soferreira running with the default settings I get the following error:

 Deployment Name: "text-embedding-ada-002"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: InvalidResourceProperties: The specified SKU 'GlobalStandard' of account deployment is not supported by the model 'text-embedding-ada-002' version: '2'.

and

Deployment Name: "gpt-4o"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: InsufficientQuota: This operation require 120 new capacity in quota Tokens Per Minute (thousands) - gpt-4o - GlobalStandard, which is bigger than the current available capacity 0. The current quota usage is 30 and the quota limit is 30 for quota Tokens Per Minute (thousands) - gpt-4o - GlobalStandard.

infra/openai.tf Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

2 participants