Share via


CreateVectorStoreFileBatchOptionalParams interface

Optional parameters for creating a vector store file batch.

Extends

Inherited Properties

abortSignal

The signal which can be used to abort requests.

chunkingStrategy

The chunking strategy used to chunk the file(s). If not set, will use the auto strategy.

dataSources

The data sources to be used. This option is mutually exclusive with fileId.

fileIds

A list of File IDs that the vector store should use. Useful for tools like file_search that can access files.

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

pollingOptions

Options for configuring polling behavior.

requestOptions

Options used when creating and sending HTTP requests for this operation.

tracingOptions

Options used when tracing is enabled.

Inherited Property Details

abortSignal

The signal which can be used to abort requests.

abortSignal?: AbortSignalLike

Property Value

Inherited From OperationOptions.abortSignal

chunkingStrategy

The chunking strategy used to chunk the file(s). If not set, will use the auto strategy.

chunkingStrategy?: VectorStoreChunkingStrategyRequest

Property Value

Inherited From CreateVectorStoreFileBatchOptions.chunkingStrategy

dataSources

The data sources to be used. This option is mutually exclusive with fileId.

dataSources?: VectorStoreDataSource[]

Property Value

Inherited From CreateVectorStoreFileBatchOptions.dataSources

fileIds

A list of File IDs that the vector store should use. Useful for tools like file_search that can access files.

fileIds?: string[]

Property Value

string[]

Inherited From CreateVectorStoreFileBatchOptions.fileIds

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

onResponse?: RawResponseCallback

Property Value

Inherited From OperationOptions.onResponse

pollingOptions

Options for configuring polling behavior.

pollingOptions?: PollingOptions

Property Value

Inherited From PollingOptionsParams.pollingOptions

requestOptions

Options used when creating and sending HTTP requests for this operation.

requestOptions?: OperationRequestOptions

Property Value

Inherited From OperationOptions.requestOptions

tracingOptions

Options used when tracing is enabled.

tracingOptions?: OperationTracingOptions

Property Value

Inherited From OperationOptions.tracingOptions