We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d64115 commit 0b2d8a5Copy full SHA for 0b2d8a5
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_common/utils.py
@@ -141,6 +141,10 @@ def is_onedp_project(azure_ai_project: AzureAIProject) -> bool:
141
def validate_azure_ai_project(o: object) -> AzureAIProject:
142
fields = {"subscription_id": str, "resource_group_name": str, "project_name": str}
143
144
+ # TODO : Add regex check for malformed project uri
145
+ if is_onedp_project(o):
146
+ return o
147
+
148
if not isinstance(o, dict):
149
msg = "The 'azure_ai_project' parameter must be a dictionary."
150
raise EvaluationException(
0 commit comments