Class BetaVectorStoreCreateParams
-
- All Implemented Interfaces:
public final class BetaVectorStoreCreateParamsCreate a vector store.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaVectorStoreCreateParams.BetaVectorStoreCreateBodypublic final classBetaVectorStoreCreateParams.Builderpublic final classBetaVectorStoreCreateParams.ExpiresAfterThe expiration policy for a vector store.
-
Constructor Summary
Constructors Constructor Description BetaVectorStoreCreateParams(BetaVectorStoreCreateParams.BetaVectorStoreCreateBody body, Headers additionalHeaders, QueryParams additionalQueryParams)
-
Method Summary
Modifier and Type Method Description final Optional<FileChunkingStrategyParam>chunkingStrategy()The chunking strategy used to chunk the file(s). final Optional<BetaVectorStoreCreateParams.ExpiresAfter>expiresAfter()The expiration policy for a vector store. final Optional<List<String>>fileIds()A list of File IDs that the vector store should use. final JsonValue_metadata()Set of 16 key-value pairs that can be attached to an object. final Optional<String>name()The name of the vector store. final JsonField<FileChunkingStrategyParam>_chunkingStrategy()The chunking strategy used to chunk the file(s). final JsonField<BetaVectorStoreCreateParams.ExpiresAfter>_expiresAfter()The expiration policy for a vector store. final JsonField<List<String>>_fileIds()A list of File IDs that the vector store should use. final JsonField<String>_name()The name of the vector store. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final BetaVectorStoreCreateParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaVectorStoreCreateParams.Builderbuilder()-
-
Constructor Detail
-
BetaVectorStoreCreateParams
BetaVectorStoreCreateParams(BetaVectorStoreCreateParams.BetaVectorStoreCreateBody body, Headers additionalHeaders, QueryParams additionalQueryParams)
-
-
Method Detail
-
chunkingStrategy
final Optional<FileChunkingStrategyParam> chunkingStrategy()
The chunking strategy used to chunk the file(s). If not set, will use the
autostrategy. Only applicable iffile_idsis non-empty.
-
expiresAfter
final Optional<BetaVectorStoreCreateParams.ExpiresAfter> expiresAfter()
The expiration policy for a vector store.
-
fileIds
final Optional<List<String>> fileIds()
A list of File IDs that the vector store should use. Useful for tools like
file_searchthat can access files.
-
_metadata
final JsonValue _metadata()
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
-
_chunkingStrategy
final JsonField<FileChunkingStrategyParam> _chunkingStrategy()
The chunking strategy used to chunk the file(s). If not set, will use the
autostrategy. Only applicable iffile_idsis non-empty.
-
_expiresAfter
final JsonField<BetaVectorStoreCreateParams.ExpiresAfter> _expiresAfter()
The expiration policy for a vector store.
-
_fileIds
final JsonField<List<String>> _fileIds()
A list of File IDs that the vector store should use. Useful for tools like
file_searchthat can access files.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final BetaVectorStoreCreateParams.Builder toBuilder()
-
builder
final static BetaVectorStoreCreateParams.Builder builder()
-
-
-
-