Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

119
Visualizações
Connection between chrome extension and Azure text analytics API

I am trying establish connection between my chrome extension and text analytics API. I have created background.js to deal with connection after extension is installed to chrome but it's throwing error code: Failed to load resource: the server responded with a status of 404 ()

How can I establish connection between extension and Azure TA API?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

There's a JavaScript library you can use: Azure Text Analytics client library for JavaScript. The GitHub repo has a lot of examples, like this one for detecting the language:

const documents = [
  "This document is written in English.",
  "Este es un document escrito en Español.",
  "这是一个用中文写的文件",
  "Dies ist ein Dokument in deutsche Sprache.",
  "Detta är ett dokument skrivet på engelska."
];

const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey));
const results = await client.detectLanguage(documents);
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda