Open
Description
- Package Name: azure-ai-projects
- Package Version: 1.0.0b12
- Operating System: windows 11
- Python Version: 3.12
Describe the bug
Tried to create a red team on AI Foundry Project v2 using SDK
red_team_response: RedTeam = project_client.red_teams.create(
red_team,
headers={
"model-endpoint": azure_openai_endpoint,
"api-key": azure_openai_api_key,
},
)
got error
ResourceNotFoundError: (404) Resource not found
Code: 404
Message: Resource not found
To Reproduce
Steps to reproduce the behavior:
Run the red team sample code from
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-projects/samples/red_team/sample_red_team.py
Expected behavior
red team agent shall be created in AI Foundry Project
Metadata
Metadata
Assignees
Labels
This issue points to a problem in the data-plane of the library.Workflow: This issue is responsible by Azure service team.Issues that are reported by GitHub users external to the Azure organization.Workflow: This issue needs attention from Azure service team or SDK teamThe issue doesn't require a change to the product in order to be resolved. Most issues start as that