【发布时间】:2019-11-18 10:57:41
【问题描述】:
API 名称:
文本编辑器
拥有 Azure 订阅,我创建了认知服务,并从 c# 控制台尝试测试 TextModerator 项目。
当这行被调用时:
var screenResult =
client.TextModeration.ScreenText("text/plain", new MemoryStream(Encoding.UTF8.GetBytes(text)), "eng", true, true, null, true);
我收到以下消息:
Microsoft.CognitiveServices.ContentModerator.Models.APIErrorException : '操作返回一个无效的状态码'NotFound''
端点是这样的:
https://contentmoderator-****.cognitiveservices.azure.com/contentmoderator
有什么想法吗?
萨德
【问题讨论】:
标签: azure azure-cognitive-services