-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
New Resource: azurerm_cognitive_rai_blocklist
#28043
New Resource: azurerm_cognitive_rai_blocklist
#28043
Conversation
9b7683b
to
7a003bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liuwuliuyun what is the difference between this resource and the custom_blocklist
property in #28013
The difference is that the blocklists must already be created in order to be referenced in the |
This is helpful information @feliperezende-barbosa. In that case the |
I would say that the implementation is correct, in my point of view. Because what I implemented here is that it's only deploying an Rai Policy and in #28013 it needs to set up the Rai Blocklist already created with the |
@feliperezende-barbosa more that if this resource |
Good point. We can also update the |
I'm good with changing |
Sure, no problem. I'm doing it. |
feature: rai blocklists resource registred
c9dbe2f
to
010ba49
Compare
@liuwuliuyun made the suggestion. |
I also updated the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realised that acceptance test section in our guide on adding a new resource was a little outdated. That has since been updated but I've left a handful of comments on this PR which I would appreciate if you could fix up for consistency reasons. Once that's done I'll kick off the tests and this should be good to go!
internal/services/cognitive/cognitive_account_rai_blocklist_resource.go
Outdated
Show resolved
Hide resolved
internal/services/cognitive/cognitive_account_rai_blocklist_resource.go
Outdated
Show resolved
Hide resolved
internal/services/cognitive/cognitive_account_rai_blocklist_resource.go
Outdated
Show resolved
Hide resolved
internal/services/cognitive/cognitive_account_rai_blocklist_resource.go
Outdated
Show resolved
Hide resolved
internal/services/cognitive/cognitive_account_rai_blocklist_resource.go
Outdated
Show resolved
Hide resolved
internal/services/cognitive/cognitive_account_rai_blocklist_resource_test.go
Outdated
Show resolved
Hide resolved
internal/services/cognitive/cognitive_account_rai_blocklist_resource_test.go
Outdated
Show resolved
Hide resolved
internal/services/cognitive/cognitive_account_rai_blocklist_resource_test.go
Outdated
Show resolved
Hide resolved
internal/services/cognitive/cognitive_account_rai_blocklist_resource_test.go
Outdated
Show resolved
Hide resolved
internal/services/cognitive/cognitive_account_rai_blocklist_resource_test.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @feliperezende-barbosa LGTM 💯
* Update CHANGELOG.md for #26304 * Update CHANGELOG.md for #28211 * Update for #28016 * Update for #28139 * Update for #27776 * Update for #28227 * Update for #28080 * Update for #28228 * Update for #27915 * reword nginx api upgrade * Update for #28160 * Update for #28043 * run changelog-update-for-release.sh --------- Co-authored-by: stephybun <[email protected]> Co-authored-by: kt <[email protected]>
Community Note
Description
New resource for using a blocklist in OpenAI reference
PR Checklist
For example: “
resource_name_here
- description of change e.g. adding propertynew_property_name_here
”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_cognitive_account_rai_blocklist
- support for creating Rai Blocklist in Azure OpenAI [GH-28043].This is a (please select all that apply):
Related Issue(s)
Fixes #0000
Note
If this PR changes meaningfully during the course of review please update the title and description as required.