0

Microsoft인지 서비스 Text Analytics API의 항목 끝점을 가져 오는 예제 응용 프로그램을 실행하려고했지만이 함수는 400 HTTP 오류를 반환합니다. 여기 인지 서비스에서 Topics 끝점을 가져올 수 없습니다.

코드입니다 :

static async Task<string> CallTopicEndpoint(HttpClient client, string uri, byte[] byteData) 
{ 
    using (var content = new ByteArrayContent(byteData)) 
    { 
     content.Headers.ContentType = new MediaTypeHeaderValue("application/json"); 
     var response = await client.PostAsync(uri, content); 
     // Return URL containing OperationID to poll from. 
     return response.Headers.GetValues("Operation-Location").First(); 
    } 
} 

전체 샘플은 여기에 있습니다 : https://text-analytics-demo.azurewebsites.net/Home/SampleCode

어떤 도움을 주셔서 감사합니다.

감사합니다.

답변

0

토픽 감지 기능은 잠시 후에 사용되지 않습니다. 여전히 주제 검색 기능이 필요하다면이 주제 검색 Azure ML Experiment을 살펴보십시오.

Luis Cabrera | 텍스트 분석 프로그램 관리자 | Cloud AI 플랫폼, Microsoft