createVectorStoreFile

abstract suspend fun createVectorStoreFile(id: VectorStoreId, request: VectorStoreFileRequest, requestOptions: RequestOptions? = null): VectorStoreFile

Create a vector store file by attaching a File to a vector store.

Parameters

id

The ID of the vector store that the file should be attached to.

request

The request to create a vector store file.

requestOptions

request options.