Megosztás a következőn keresztül:


SearchIndexerSkillset(String, IEnumerable<SearchIndexerSkill>) Constructor

Definition

Initializes a new instance of SearchIndexerSkillset.

public SearchIndexerSkillset (string name, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.SearchIndexerSkill> skills);
new Azure.Search.Documents.Indexes.Models.SearchIndexerSkillset : string * seq<Azure.Search.Documents.Indexes.Models.SearchIndexerSkill> -> Azure.Search.Documents.Indexes.Models.SearchIndexerSkillset
Public Sub New (name As String, skills As IEnumerable(Of SearchIndexerSkill))

Parameters

name
String

The name of the skillset.

skills
IEnumerable<SearchIndexerSkill>

A list of skills in the skillset. Please note SearchIndexerSkill is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureMachineLearningSkill, WebApiSkill, AzureOpenAIEmbeddingSkill, CustomEntityLookupSkill, EntityRecognitionSkill, KeyPhraseExtractionSkill, LanguageDetectionSkill, MergeSkill, PiiDetectionSkill, SentimentSkill, SplitSkill, TextTranslationSkill, EntityLinkingSkill, ConditionalSkill, DocumentExtractionSkill, ShaperSkill, ImageAnalysisSkill, OcrSkill and VisionVectorizeSkill.

Exceptions

name or skills is null.

Applies to