Package com.openai.models
Class BetaVectorStoreFileCreateParams
-
- All Implemented Interfaces:
public final class BetaVectorStoreFileCreateParams
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 class
BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody
public final class
BetaVectorStoreFileCreateParams.Builder
-
Constructor Summary
Constructors Constructor Description BetaVectorStoreFileCreateParams(String vectorStoreId, BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody body, Headers additionalHeaders, QueryParams additionalQueryParams)
-
Method Summary
Modifier and Type Method Description final String
vectorStoreId()
final String
fileId()
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()
final String
getPathParam(Integer index)
final BetaVectorStoreFileCreateParams.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static BetaVectorStoreFileCreateParams.Builder
builder()
-
-
Constructor Detail
-
BetaVectorStoreFileCreateParams
BetaVectorStoreFileCreateParams(String vectorStoreId, BetaVectorStoreFileCreateParams.BetaVectorStoreFileCreateBody body, Headers additionalHeaders, QueryParams additionalQueryParams)
-
-
Method Detail
-
vectorStoreId
final String vectorStoreId()
-
fileId
final String fileId()
A File ID that the vector store should use. Useful for tools like
file_search
that can access files.
-
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.
-
_fileId
final JsonField<String> _fileId()
A File ID that the vector store should use. Useful for tools like
file_search
that can access files.
-
_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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final BetaVectorStoreFileCreateParams.Builder toBuilder()
-
builder
final static BetaVectorStoreFileCreateParams.Builder builder()
-
-
-
-