Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/ai/azure-ai-projects/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/ai/azure-ai-projects",
"Tag": "python/ai/azure-ai-projects_56eacfd554"
"Tag": "python/ai/azure-ai-projects_1d985f7ba5"
}
56 changes: 29 additions & 27 deletions sdk/ai/azure-ai-projects/cspell.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
{
"ignoreWords": [
"agentic",
"aiproject",
"azureopenai",
"GLEU",
"aiservices",
"azureai",
"GENAI",
"UPIA",
"ansii",
"getconnectionwithcredentials",
"quantitive",
"balapvbyostoragecanary",
"fspath",
"aread",
"inpainting",
"CSDL",
"fstring",
"aiprojectclient",
"Tadmaq",
"Udbk",
"Ministral",
"cogsvc",
"evals",
"FineTuning",
"closefd"
],
"ignoreWords": [
"agentic",
"aiproject",
"azureopenai",
"GLEU",
"aiservices",
"azureai",
"GENAI",
"UPIA",
"ansii",
"getconnectionwithcredentials",
"quantitive",
"balapvbyostoragecanary",
"fspath",
"aread",
"inpainting",
"CSDL",
"fstring",
"aiprojectclient",
"Tadmaq",
"Udbk",
"Ministral",
"cogsvc",
"evals",
"FineTuning",
"ftjob",
"ftchkpt",
"closefd"
],
"ignorePaths": [
"*.csv",
"*.json",
Expand Down
9 changes: 9 additions & 0 deletions sdk/ai/azure-ai-projects/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ def sanitize_url_paths():

sanitize_url_paths()

# Sanitize fine-tuning job IDs in URLs and response bodies
add_general_regex_sanitizer(regex=r"ftjob-[a-f0-9]+", value="sanitized-ftjob-id")

# Sanitize file IDs in URLs and response bodies
add_general_regex_sanitizer(regex=r"file-[a-f0-9]+", value="sanitized-file-id")

# Sanitize checkpoint IDs in URLs and response bodies
add_general_regex_sanitizer(regex=r"ftchkpt-[a-f0-9]+", value="sanitized-checkpoint-id")

# Sanitize API key from service response (this includes Application Insights connection string)
add_body_key_sanitizer(json_path="credentials.key", value="sanitized-api-key")

Expand Down
Loading
Loading