You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current version of Teams AI only works with API version "2023-04-30-preview" which returns 404 error "Resource not found".
API versions "2024-02-15-preview", "2023-10-01" & "2024-09-01" expects other options than the one currently available in the AzureOpenAIModeratorOptions (indicated here).
If we try to mention API versions "2024-02-15-preview", "2023-10-01" or "2024-09-01" in Teams AI, Content Safety check returns this error: "The body of your request contains fields that we do not support, please double check the api-version and the API definition under this api-version.".
Reproduction Steps
Init an intelligent chatbot project through Teams Toolkit
Implement Content Moderation with Azure Content Safety with AzureContentSafetyModerator class
Specify apiVersion option with "2024-02-15-preview", "2023-10-01" or "2024-09-01"
Run the chatbot & try to interact with the Model
...
The text was updated successfully, but these errors were encountered:
## Linked issues
closes: #2172
## Details
parity across languages - originated with #2121 and #2133
#### Change details
- added `halt_on_blocklist_hit`
- updated with GA reqs
- updated moderation sample
## Attestation Checklist
- [x] My code follows the style guidelines of this project
- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (updating the
doc strings in the code is sufficient)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
- Local testing
- E2E testing in Teams
- New and existing unit tests pass locally with my changes
---------
Co-authored-by: lilydu <[email protected]>
Language
Javascript/Typescript
Version
latest
Description
Current version of Teams AI only works with API version "2023-04-30-preview" which returns 404 error "Resource not found".
API versions "2024-02-15-preview", "2023-10-01" & "2024-09-01" expects other options than the one currently available in the
AzureOpenAIModeratorOptions
(indicated here).If we try to mention API versions "2024-02-15-preview", "2023-10-01" or "2024-09-01" in Teams AI, Content Safety check returns this error: "The body of your request contains fields that we do not support, please double check the api-version and the API definition under this api-version.".
Reproduction Steps
AzureContentSafetyModerator
classapiVersion
option with "2024-02-15-preview", "2023-10-01" or "2024-09-01"...
The text was updated successfully, but these errors were encountered: