delete
Delete a vector store.
Parameters
id
The ID of the vector store to delete.
request Options
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.
file Id
The ID of the file to delete.
request Options
request options.