Class VectorStoreAutoChunkingStrategyResponse
java.lang.Object
com.azure.ai.openai.assistants.models.VectorStoreChunkingStrategyResponse
com.azure.ai.openai.assistants.models.VectorStoreAutoChunkingStrategyResponse
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VectorStoreChunkingStrategyResponse>
public final class VectorStoreAutoChunkingStrategyResponse
extends VectorStoreChunkingStrategyResponse
This is returned when the chunking strategy is unknown. Typically, this is because the file was indexed before the
chunking_strategy concept was introduced in the API.
-
Method Details
-
getType
Get the type property: The object type.- Overrides:
getType
in classVectorStoreChunkingStrategyResponse
- Returns:
- the type value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<VectorStoreChunkingStrategyResponse>
- Overrides:
toJson
in classVectorStoreChunkingStrategyResponse
- Throws:
IOException
-
fromJson
public static VectorStoreAutoChunkingStrategyResponse fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VectorStoreAutoChunkingStrategyResponse from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of VectorStoreAutoChunkingStrategyResponse 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 VectorStoreAutoChunkingStrategyResponse.
-