DocumentIntelligenceLayoutSkill Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SearchIndexerSkill - com.
azure. search. documents. indexes. models. DocumentIntelligenceLayoutSkill
- com.
- com.
public final class DocumentIntelligenceLayoutSkill
extends SearchIndexerSkill
A skill that extracts content and layout information, via Azure AI Services, from files within the enrichment pipeline.
Constructor Summary
| Constructor | Description |
|---|---|
| DocumentIntelligenceLayoutSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs) |
Creates an instance of Document |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
|
Document |
getChunkingProperties()
Get the chunking |
|
List<Document |
getExtractionOptions()
Get the extraction |
|
Document |
getMarkdownHeaderDepth()
Get the markdown |
| String |
getOdataType()
Get the odata |
|
Document |
getOutputFormat()
Get the output |
|
Document |
getOutputMode()
Get the output |
|
Document |
setChunkingProperties(DocumentIntelligenceLayoutSkillChunkingProperties chunkingProperties)
Set the chunking |
|
Document |
setContext(String context)
Set the context property: Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). |
|
Document |
setDescription(String description)
Set the description property: The description of the skill which describes the inputs, outputs, and usage of the skill. |
|
Document |
setExtractionOptions(List<DocumentIntelligenceLayoutSkillExtractionOptions> extractionOptions)
Set the extraction |
|
Document |
setMarkdownHeaderDepth(DocumentIntelligenceLayoutSkillMarkdownHeaderDepth markdownHeaderDepth)
Set the markdown |
|
Document |
setName(String name)
Set the name property: The name of the skill which uniquely identifies it within the skillset. |
|
Document |
setOutputFormat(DocumentIntelligenceLayoutSkillOutputFormat outputFormat)
Set the output |
|
Document |
setOutputMode(DocumentIntelligenceLayoutSkillOutputMode outputMode)
Set the output |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from SearchIndexerSkill
Methods inherited from java.lang.Object
Constructor Details
DocumentIntelligenceLayoutSkill
public DocumentIntelligenceLayoutSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs)
Creates an instance of DocumentIntelligenceLayoutSkill class.
Parameters:
Method Details
fromJson
public static DocumentIntelligenceLayoutSkill fromJson(JsonReader jsonReader)
Reads an instance of DocumentIntelligenceLayoutSkill from the JsonReader.
Parameters:
Returns:
Throws:
getChunkingProperties
public DocumentIntelligenceLayoutSkillChunkingProperties getChunkingProperties()
Get the chunkingProperties property: Controls the cardinality for chunking the content.
Returns:
getExtractionOptions
public List<DocumentIntelligenceLayoutSkillExtractionOptions> getExtractionOptions()
Get the extractionOptions property: Controls the cardinality of the content extracted from the document by the skill.
Returns:
getMarkdownHeaderDepth
public DocumentIntelligenceLayoutSkillMarkdownHeaderDepth getMarkdownHeaderDepth()
Get the markdownHeaderDepth property: The depth of headers in the markdown output. Default is h6.
Returns:
getOdataType
public String getOdataType()
Get the odataType property: A URI fragment specifying the type of skill.
Overrides:
DocumentIntelligenceLayoutSkill.getOdataType()Returns:
getOutputFormat
public DocumentIntelligenceLayoutSkillOutputFormat getOutputFormat()
Get the outputFormat property: Controls the cardinality of the output format. Default is 'markdown'.
Returns:
getOutputMode
public DocumentIntelligenceLayoutSkillOutputMode getOutputMode()
Get the outputMode property: Controls the cardinality of the output produced by the skill. Default is 'oneToMany'.
Returns:
setChunkingProperties
public DocumentIntelligenceLayoutSkill setChunkingProperties(DocumentIntelligenceLayoutSkillChunkingProperties chunkingProperties)
Set the chunkingProperties property: Controls the cardinality for chunking the content.
Parameters:
Returns:
setContext
public DocumentIntelligenceLayoutSkill setContext(String context)
Set the context property: 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.
Overrides:
DocumentIntelligenceLayoutSkill.setContext(String context)Parameters:
setDescription
public DocumentIntelligenceLayoutSkill setDescription(String description)
Set the description property: The description of the skill which describes the inputs, outputs, and usage of the skill.
Overrides:
DocumentIntelligenceLayoutSkill.setDescription(String description)Parameters:
setExtractionOptions
public DocumentIntelligenceLayoutSkill setExtractionOptions(List<DocumentIntelligenceLayoutSkillExtractionOptions> extractionOptions)
Set the extractionOptions property: Controls the cardinality of the content extracted from the document by the skill.
Parameters:
Returns:
setMarkdownHeaderDepth
public DocumentIntelligenceLayoutSkill setMarkdownHeaderDepth(DocumentIntelligenceLayoutSkillMarkdownHeaderDepth markdownHeaderDepth)
Set the markdownHeaderDepth property: The depth of headers in the markdown output. Default is h6.
Parameters:
Returns:
setName
public DocumentIntelligenceLayoutSkill setName(String name)
Set the name property: 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 '#'.
Overrides:
DocumentIntelligenceLayoutSkill.setName(String name)Parameters:
setOutputFormat
public DocumentIntelligenceLayoutSkill setOutputFormat(DocumentIntelligenceLayoutSkillOutputFormat outputFormat)
Set the outputFormat property: Controls the cardinality of the output format. Default is 'markdown'.
Parameters:
Returns:
setOutputMode
public DocumentIntelligenceLayoutSkill setOutputMode(DocumentIntelligenceLayoutSkillOutputMode outputMode)
Set the outputMode property: Controls the cardinality of the output produced by the skill. Default is 'oneToMany'.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DocumentIntelligenceLayoutSkill.toJson(JsonWriter jsonWriter)Parameters:
Throws: