Class VectorStoreAutoChunkingStrategyRequest
java.lang.Object
com.azure.ai.agents.persistent.models.VectorStoreChunkingStrategyRequest
com.azure.ai.agents.persistent.models.VectorStoreAutoChunkingStrategyRequest
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VectorStoreChunkingStrategyRequest>
public final class VectorStoreAutoChunkingStrategyRequest
extends VectorStoreChunkingStrategyRequest
The default strategy. This strategy currently uses a max_chunk_size_tokens of 800 and chunk_overlap_tokens of 400.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VectorStoreAutoChunkingStrategyRequest class. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VectorStoreAutoChunkingStrategyRequest
public VectorStoreAutoChunkingStrategyRequest()Creates an instance of VectorStoreAutoChunkingStrategyRequest class.
-
-
Method Details
-
getType
Get the type property: The object type.- Overrides:
getTypein classVectorStoreChunkingStrategyRequest- Returns:
- the type value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VectorStoreChunkingStrategyRequest>- Overrides:
toJsonin classVectorStoreChunkingStrategyRequest- Throws:
IOException
-
fromJson
public static VectorStoreAutoChunkingStrategyRequest fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VectorStoreAutoChunkingStrategyRequest from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VectorStoreAutoChunkingStrategyRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the VectorStoreAutoChunkingStrategyRequest.
-