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