UiPath Documentation
activities
latest
false

Atividades do Document Understanding

Última atualização 5 de mai de 2026

Habilidade de ML

UiPath.MLServices.Activities.MLSkills

Description

Observação:

This activity requires Studio v2019.10 or higher to function properly.

Recupera as habilidades de ML disponíveis no serviço AI Center e as solicita. Autentica sob o robô que executa a habilidade ML.

Compatibilidade do projeto

Windows-Legacy | Windows

Como as entradas são passadas para a atividade

Dependendo do tipo de entrada, a atividade MLSkills espera o seguinte formato:

JSON

"this is an example of input"
"{""expected-field"":""this is another example""}"
"this is an example of input"
"{""expected-field"":""this is another example""}"

de transações

"C:/full/path/to/file.ext"
"C:/full/path/to/file.ext"

Arquivos

"C:/full/path/to/file1.ext,C:/full/path/to/file2.ext,C:/full/path/to/file3.ext"
"C:/full/path/to/file1.ext,C:/full/path/to/file2.ext,C:/full/path/to/file3.ext"

Configuração

Painel do Designer

Depending on the chosen Connection mode, you can configure several essential properties directly from the body of the activity.

Modo de conexão: Robô

Figura 1. A atividade ML Skill quando o modo de conexão é feito por meio de um UiPath Robot

A atividade ML Skill quando o modo de conexão é feito por meio de um UiPath Robot

  • Search - Retrieves the list of available ML Skills and allows you to select the one to which you want to send data. This list is populated after connection.
  • Item - The input that is sent alongside the ML Skill request.
  • JSONResponse - The JSON response returned by the ML Skill request.

Modo de conexão: Endpoint

Figura 2. A atividade ML Skill quando o modo de conexão é feito por meio de um endpoint

A atividade ML Skill quando o modo de conexão é feito por meio de um endpoint

  • ML Skill URL - The URL of the ML Skill to used for prediction. For instance, you can type https://aicentercom/j123/invoices in the Advanced Editor. Once public, it is visible in the Dataset detail page.
  • API Key - The API Key selected from the AI Center Resource. Once public, it is visible in the Dataset detail page.
  • Test Skill - Test your ML Skill.
  • Tipo de entrada - O tipo de entrada esperado para a Habilidade de ML selecionada na lista suspensa (JSON, Arquivo ou Arquivos)
  • Item - The input that is sent alongside the ML Skill request.
  • JSONResponse - The JSON response returned by the ML Skill request.
Painel de Propriedades

Comum

  • ContinuarComErro — especifica se a automação deve continuar mesmo quando a atividade gera um erro. Este campo só aceita valores booleanos (True, False). O valor padrão é False. Como resultado, se o campo estiver em branco e um erro for lançado, a execução do projeto será interrompida. Se o valor for definido como True, a execução do projeto prosseguirá mesmo com erros.
    Observação:

    Se esta atividade estiver incluída em Try Catch e o valor da propriedade Continuar com erro for Verdadeiro, nenhum erro será capturado quando o projeto for executado.

  • DelayAfter - Delay time (in milliseconds) after executing the activity. This field supports only Int32 variables.
  • DelayBefore - Delay time (in milliseconds) before the activity begins performing any operations. This field supports only Int32 variables.
  • DisplayName - The display name of the activity. This field supports only String variables.
  • NumberOfRetries - The maximum number of attempts to execute the ML Skill request. This field supports only Int32 variables.
  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds). This field supports only Int32 variables.

Entrada

  • API Key - The API Key of the ML Skill to be predicted. This field supports only String variables.
  • Connection mode - The desired type of connection (Robot or Endpoint)
    • Robot - Deploy the ML Skill inside Robot.
    • Endpoint - Deploy the ML Skill outside Robot.
  • Item - The input string that is sent alongside the ML Skill request. This field supports only strings and String variables.

Diversos

  • Privado - Se selecionado, os valores de variáveis e argumentos não são mais registrados no nível Verbose.
  • Skill URL - The URL of the ML Skill to used for prediction. This field supports only String variables.

Saída

  • Headers - The headers returned by the ML Skill request. This field supports only String variables.
  • JSONResponse - The JSON response returned by the ML Skill request. This field supports only String variables.
  • StatusCode - The Status Code returned by the ML Skill request. This field supports only Int32 variables.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades