Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Update openai module and add network link - #42

Open
Sofia Ferreira (soferreira) wants to merge 3 commits into
Azure-Samples:mainfrom
soferreira:update-openai-module
Open

Update openai module and add network link#42
Sofia Ferreira (soferreira) wants to merge 3 commits into
Azure-Samples:mainfrom
soferreira:update-openai-module

Conversation

@soferreira

@soferreira Sofia Ferreira (soferreira) commented Oct 10, 2024

Copy link
Copy Markdown
Contributor

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:

Comment thread infra/openai.tf Outdated
Comment thread infra/variables.tf Outdated
Comment thread infra/variables.tf Outdated

@zioproto zioproto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sofia Ferreira (@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.

Comment thread infra/openai.tf Outdated
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants