Class FileServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.beta.vectorStores.FileService
public final class FileServiceImpl implements FileService
-
-
Method Summary
Modifier and Type Method Description VectorStoreFile
create(BetaVectorStoreFileCreateParams params, RequestOptions requestOptions)
Create a vector store file by attaching a File to a vector store. VectorStoreFile
retrieve(BetaVectorStoreFileRetrieveParams params, RequestOptions requestOptions)
Retrieves a vector store file. BetaVectorStoreFileListPage
list(BetaVectorStoreFileListParams params, RequestOptions requestOptions)
Returns a list of vector store files. VectorStoreFileDeleted
delete(BetaVectorStoreFileDeleteParams params, RequestOptions requestOptions)
Delete a vector store file. -
-
Method Detail
-
create
VectorStoreFile create(BetaVectorStoreFileCreateParams params, RequestOptions requestOptions)
Create a vector store file by attaching a File to a vector store.
-
retrieve
VectorStoreFile retrieve(BetaVectorStoreFileRetrieveParams params, RequestOptions requestOptions)
Retrieves a vector store file.
-
list
BetaVectorStoreFileListPage list(BetaVectorStoreFileListParams params, RequestOptions requestOptions)
Returns a list of vector store files.
-
delete
VectorStoreFileDeleted delete(BetaVectorStoreFileDeleteParams params, RequestOptions requestOptions)
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, use the delete file endpoint.
-
-
-
-