Class BetaVectorStoreCreateParams.Body
-
- All Implemented Interfaces:
public final class BetaVectorStoreCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
BetaVectorStoreCreateParams.Body.Builder
A builder for Body.
-
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 Optional<Metadata>
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<Metadata>
_metadata()
Set of 16 key-value pairs that can be attached to an object. final JsonField<String>
_name()
The name of the vector store. final Map<String, JsonValue>
_additionalProperties()
final BetaVectorStoreCreateParams.Body
validate()
final BetaVectorStoreCreateParams.Body.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static BetaVectorStoreCreateParams.Body.Builder
builder()
-
-
Method Detail
-
chunkingStrategy
final Optional<FileChunkingStrategyParam> chunkingStrategy()
The chunking strategy used to chunk the file(s). If not set, will use the
auto
strategy. Only applicable iffile_ids
is 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_search
that can access files.
-
metadata
final Optional<Metadata> 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, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
_chunkingStrategy
final JsonField<FileChunkingStrategyParam> _chunkingStrategy()
The chunking strategy used to chunk the file(s). If not set, will use the
auto
strategy. Only applicable iffile_ids
is 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_search
that can access files.
-
_metadata
final JsonField<Metadata> _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, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final BetaVectorStoreCreateParams.Body validate()
-
toBuilder
final BetaVectorStoreCreateParams.Body.Builder toBuilder()
-
builder
final static BetaVectorStoreCreateParams.Body.Builder builder()
-
-
-
-