delete
abstract suspend fun delete(id: <Error class: unknown class>, requestOptions: <Error class: unknown class>? = null): Boolean
Delete a vector store.
Parameters
id
The ID of the vector store to delete.
requestOptions
request options.
abstract suspend fun delete(id: <Error class: unknown class>, fileId: <Error class: unknown class>, requestOptions: <Error class: unknown class>? = 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.