Package com.openai.models
Class BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder
-
- All Implemented Interfaces:
public final class BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.BuilderA builder for BetaVectorStoreFileCreateBody.
-
-
Method Summary
-
-
Method Detail
-
fileId
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder fileId(String fileId)
A File ID that the vector store should use. Useful for tools like
file_searchthat can access files.
-
fileId
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder fileId(JsonField<String> fileId)
A File ID that the vector store should use. Useful for tools like
file_searchthat can access files.
-
chunkingStrategy
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder chunkingStrategy(FileChunkingStrategyParam chunkingStrategy)
The chunking strategy used to chunk the file(s). If not set, will use the
autostrategy. Only applicable iffile_idsis non-empty.
-
chunkingStrategy
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder chunkingStrategy(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.
-
chunkingStrategy
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder chunkingStrategy(AutoFileChunkingStrategyParam auto)
The default strategy. This strategy currently uses a
max_chunk_size_tokensof800andchunk_overlap_tokensof400.
-
chunkingStrategy
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder chunkingStrategy(StaticFileChunkingStrategyObjectParam static_)
The chunking strategy used to chunk the file(s). If not set, will use the
autostrategy. Only applicable iffile_idsis non-empty.
-
additionalProperties
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-