Class FileBatchCreateParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class FileBatchCreateParams implements Params
Create a vector store file batch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileBatchCreateParams.Bodypublic final classFileBatchCreateParams.BuilderA builder for FileBatchCreateParams.
public final classFileBatchCreateParams.AttributesSet 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, booleans, or numbers.
-
Method Summary
Modifier and Type Method Description final StringvectorStoreId()final List<String>fileIds()A list of File IDs that the vector store should use. final Optional<FileBatchCreateParams.Attributes>attributes()Set of 16 key-value pairs that can be attached to an object. final Optional<FileChunkingStrategyParam>chunkingStrategy()The chunking strategy used to chunk the file(s). final JsonField<List<String>>_fileIds()A list of File IDs that the vector store should use. final JsonField<FileBatchCreateParams.Attributes>_attributes()Set of 16 key-value pairs that can be attached to an object. final JsonField<FileChunkingStrategyParam>_chunkingStrategy()The chunking strategy used to chunk the file(s). final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. final StringgetPathParam(Integer index)final FileBatchCreateParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileBatchCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of FileBatchCreateParams. -
-
Method Detail
-
vectorStoreId
final String vectorStoreId()
-
fileIds
final List<String> fileIds()
A list of File IDs that the vector store should use. Useful for tools like
file_searchthat can access files.
-
attributes
final Optional<FileBatchCreateParams.Attributes> attributes()
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, booleans, or numbers.
-
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.
-
_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.
-
_attributes
final JsonField<FileBatchCreateParams.Attributes> _attributes()
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, booleans, or numbers.
-
_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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final FileBatchCreateParams.Builder toBuilder()
-
builder
final static FileBatchCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of FileBatchCreateParams.
The following fields are required:
.vectorStoreId() .fileIds()
-
-
-
-