delete
Delete a vector store.
Parameters
id
The ID of the vector store to delete.
requestOptions
request options.
abstract suspend fun delete(id: VectorStoreId, fileId: FileId, requestOptions: RequestOptions? = null): Boolean
Delete a vector store file. This will remove the file from the vector store, but the file itself will not be deleted. To delete the file, OpenAI.delete(fileId).
Parameters
id
The ID of the vector store that the file belongs to.
fileId
The ID of the file to delete.
requestOptions
request options.