Class BetaVectorStoreFileBatchCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class BetaVectorStoreFileBatchCreateParams.Body.Builder
A builder for Body.
-
-
Method Summary
-
-
Method Detail
-
fileIds
final BetaVectorStoreFileBatchCreateParams.Body.Builder fileIds(List<String> fileIds)
A list of File IDs that the vector store should use. Useful for tools like
file_search
that can access files.
-
fileIds
final BetaVectorStoreFileBatchCreateParams.Body.Builder fileIds(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.
-
addFileId
final BetaVectorStoreFileBatchCreateParams.Body.Builder addFileId(String fileId)
A list of File IDs that the vector store should use. Useful for tools like
file_search
that can access files.
-
chunkingStrategy
final BetaVectorStoreFileBatchCreateParams.Body.Builder chunkingStrategy(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.
-
chunkingStrategy
final BetaVectorStoreFileBatchCreateParams.Body.Builder chunkingStrategy(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.
-
chunkingStrategy
final BetaVectorStoreFileBatchCreateParams.Body.Builder chunkingStrategy(AutoFileChunkingStrategyParam auto)
The default strategy. This strategy currently uses a
max_chunk_size_tokens
of800
andchunk_overlap_tokens
of400
.
-
chunkingStrategy
final BetaVectorStoreFileBatchCreateParams.Body.Builder chunkingStrategy(StaticFileChunkingStrategyObjectParam static_)
The chunking strategy used to chunk the file(s). If not set, will use the
auto
strategy. Only applicable iffile_ids
is non-empty.
-
staticChunkingStrategy
final BetaVectorStoreFileBatchCreateParams.Body.Builder staticChunkingStrategy(StaticFileChunkingStrategy static_)
The chunking strategy used to chunk the file(s). If not set, will use the
auto
strategy. Only applicable iffile_ids
is non-empty.
-
additionalProperties
final BetaVectorStoreFileBatchCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaVectorStoreFileBatchCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaVectorStoreFileBatchCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaVectorStoreFileBatchCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaVectorStoreFileBatchCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaVectorStoreFileBatchCreateParams.Body build()
-
-
-
-