DocumentIntelligenceLayoutSkillChunkingProperties Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. DocumentIntelligenceLayoutSkillChunkingProperties
- com.
Implements
public final class DocumentIntelligenceLayoutSkillChunkingProperties
implements JsonSerializable<DocumentIntelligenceLayoutSkillChunkingProperties>
Controls the cardinality for chunking the content.
Constructor Summary
| Constructor | Description |
|---|---|
| DocumentIntelligenceLayoutSkillChunkingProperties() |
Creates an instance of Document |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
| Integer |
getMaximumLength()
Get the maximum |
| Integer |
getOverlapLength()
Get the overlap |
|
Document |
getUnit()
Get the unit property: The unit of the chunk. |
|
Document |
setMaximumLength(Integer maximumLength)
Set the maximum |
|
Document |
setOverlapLength(Integer overlapLength)
Set the overlap |
|
Document |
setUnit(DocumentIntelligenceLayoutSkillChunkingUnit unit)
Set the unit property: The unit of the chunk. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
DocumentIntelligenceLayoutSkillChunkingProperties
public DocumentIntelligenceLayoutSkillChunkingProperties()
Creates an instance of DocumentIntelligenceLayoutSkillChunkingProperties class.
Method Details
fromJson
public static DocumentIntelligenceLayoutSkillChunkingProperties fromJson(JsonReader jsonReader)
Reads an instance of DocumentIntelligenceLayoutSkillChunkingProperties from the JsonReader.
Parameters:
Returns:
Throws:
getMaximumLength
public Integer getMaximumLength()
Get the maximumLength property: The maximum chunk length in characters. Default is 500.
Returns:
getOverlapLength
public Integer getOverlapLength()
Get the overlapLength property: The length of overlap provided between two text chunks. Default is 0.
Returns:
getUnit
public DocumentIntelligenceLayoutSkillChunkingUnit getUnit()
Get the unit property: The unit of the chunk.
Returns:
setMaximumLength
public DocumentIntelligenceLayoutSkillChunkingProperties setMaximumLength(Integer maximumLength)
Set the maximumLength property: The maximum chunk length in characters. Default is 500.
Parameters:
Returns:
setOverlapLength
public DocumentIntelligenceLayoutSkillChunkingProperties setOverlapLength(Integer overlapLength)
Set the overlapLength property: The length of overlap provided between two text chunks. Default is 0.
Parameters:
Returns:
setUnit
public DocumentIntelligenceLayoutSkillChunkingProperties setUnit(DocumentIntelligenceLayoutSkillChunkingUnit unit)
Set the unit property: The unit of the chunk.
Parameters:
Returns: