Share via


VectorStoreChunkingStrategyResponse Class

  • java.lang.Object
    • com.azure.ai.agents.persistent.models.VectorStoreChunkingStrategyResponse

Implements

public class VectorStoreChunkingStrategyResponse
implements JsonSerializable<VectorStoreChunkingStrategyResponse>

An abstract representation of a vector store chunking strategy configuration.

Constructor Summary

Modifier Constructor Description
protected VectorStoreChunkingStrategyResponse()

Creates an instance of VectorStoreChunkingStrategyResponse class.

Method Summary

Modifier and Type Method and Description
static VectorStoreChunkingStrategyResponse fromJson(JsonReader jsonReader)

Reads an instance of VectorStoreChunkingStrategyResponse from the JsonReader.

VectorStoreChunkingStrategyResponseType getType()

Get the type property: The object type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

VectorStoreChunkingStrategyResponse

protected VectorStoreChunkingStrategyResponse()

Creates an instance of VectorStoreChunkingStrategyResponse class.

Method Details

fromJson

public static VectorStoreChunkingStrategyResponse fromJson(JsonReader jsonReader)

Reads an instance of VectorStoreChunkingStrategyResponse from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VectorStoreChunkingStrategyResponse 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 VectorStoreChunkingStrategyResponse.

getType

public VectorStoreChunkingStrategyResponseType getType()

Get the type property: The object type.

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to