Skip to content

Commit

Permalink
Fix test (#43867)
Browse files Browse the repository at this point in the history
Co-authored-by: ShivangiReja <[email protected]>
  • Loading branch information
ShivangiReja and ShivangiReja authored May 7, 2024
1 parent 22e16ee commit 7e36a3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/search/Azure.Search.Documents/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/search/Azure.Search.Documents",
"Tag": "net/search/Azure.Search.Documents_b5f3720554"
"Tag": "net/search/Azure.Search.Documents_52c4e21bfa"
}
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ SentimentSkill CreateSentimentSkill(SentimentSkill.SkillVersion skillVersion)
Type _ when t == typeof(AzureMachineLearningSkill) => CreateSkill(t, new[] { "input" }, new[] { "output" }),
Type _ when t == typeof(AzureOpenAIEmbeddingSkill) => CreateSkill(t, new[] { "text" }, new[] { "embedding" }),
Type _ when t == typeof(VisionVectorizeSkill) =>
TestEnvironment.Location != "usgov" ? CreateSkill(t, new[] { "image" }, new[] { "vector" }) : null,
TestEnvironment.AzureEnvironment != "AzureUSGovernment" ? CreateSkill(t, new[] { "image" }, new[] { "vector" }) : null,
_ => throw new NotSupportedException($"{t.FullName}"),
})
.Where(skill => skill != null)
Expand Down

0 comments on commit 7e36a3b

Please sign in to comment.