Class BetaVectorStoreFileCreateParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class BetaVectorStoreFileCreateParams implements Params
Create a vector store file by attaching a File to a vector store.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBodypublic final classBetaVectorStoreFileCreateParams.BuilderA builder for BetaVectorStoreFileCreateParams.
-
Method Summary
Modifier and Type Method Description final StringvectorStoreId()final StringfileId()A File ID that the vector store should use. final Optional<FileChunkingStrategyParam>chunkingStrategy()The chunking strategy used to chunk the file(s). final JsonField<String>_fileId()A File ID that the vector store should use. 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 BetaVectorStoreFileCreateParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaVectorStoreFileCreateParams.Builderbuilder()-
-
Method Detail
-
vectorStoreId
final String vectorStoreId()
-
fileId
final String fileId()
A File ID that the vector store should use. Useful for tools like
file_searchthat can access files.
-
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.
-
_fileId
final JsonField<String> _fileId()
A File ID that the vector store should use. Useful for tools like
file_searchthat can access files.
-
_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 BetaVectorStoreFileCreateParams.Builder toBuilder()
-
builder
final static BetaVectorStoreFileCreateParams.Builder builder()
-
-
-
-