Share via


CreateVectorStoreFileOptions interface

Request object for creating a vector store file.

Properties

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.

fileId

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

Property Details

chunkingStrategy

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

chunkingStrategy?: VectorStoreChunkingStrategyRequest

Property Value

dataSources

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

dataSources?: VectorStoreDataSource[]

Property Value

fileId

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

fileId?: string

Property Value

string