Delen via


TextTranslationSkill Class

Definition

A skill to translate text from one language to another.

public class TextTranslationSkill : Azure.Search.Documents.Indexes.Models.SearchIndexerSkill
type TextTranslationSkill = class
    inherit SearchIndexerSkill
Public Class TextTranslationSkill
Inherits SearchIndexerSkill
Inheritance
TextTranslationSkill

Constructors

TextTranslationSkill(IEnumerable<InputFieldMappingEntry>, IEnumerable<OutputFieldMappingEntry>, TextTranslationSkillLanguage)

Initializes a new instance of TextTranslationSkill.

Properties

Context

Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.

(Inherited from SearchIndexerSkill)
DefaultFromLanguageCode

The language code to translate documents from for documents that don't specify the from language explicitly.

DefaultToLanguageCode

The language code to translate documents into for documents that don't specify the to language explicitly.

Description

The description of the skill which describes the inputs, outputs, and usage of the skill.

(Inherited from SearchIndexerSkill)
Inputs

Inputs of the skills could be a column in the source data set, or the output of an upstream skill.

(Inherited from SearchIndexerSkill)
Name

The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array prefaced with the character "#" in debug sessions and error messages.

(Inherited from SearchIndexerSkill)
Outputs

The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.

(Inherited from SearchIndexerSkill)
SuggestedFrom

The language code to translate documents from when neither the fromLanguageCode input nor the defaultFromLanguageCode parameter are provided, and the automatic language detection is unsuccessful. Default is en.

Applies to