TextTranslationSkill interface

A skill to translate text from one language to another.

Extends

Properties

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.

odatatype

Polymorphic discriminator, which specifies the different types this object can be

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.

Inherited 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.

description

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

inputs

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

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, prefixed with the character #.

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.

Property Details

defaultFromLanguageCode

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

defaultFromLanguageCode?: TextTranslationSkillLanguage

Property Value

defaultToLanguageCode

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

defaultToLanguageCode: TextTranslationSkillLanguage

Property Value

odatatype

Polymorphic discriminator, which specifies the different types this object can be

odatatype: "#Microsoft.Skills.Text.TranslationSkill"

Property Value

"#Microsoft.Skills.Text.TranslationSkill"

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.

suggestedFrom?: TextTranslationSkillLanguage

Property Value

Inherited Property Details

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.

context?: string

Property Value

string

Inherited From BaseSearchIndexerSkill.context

description

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

description?: string

Property Value

string

Inherited From BaseSearchIndexerSkill.description

inputs

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

inputs: InputFieldMappingEntry[]

Property Value

Inherited From BaseSearchIndexerSkill.inputs

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, prefixed with the character #.

name?: string

Property Value

string

Inherited From BaseSearchIndexerSkill.name

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.

outputs: OutputFieldMappingEntry[]

Property Value

Inherited From BaseSearchIndexerSkill.outputs