Interface FileService
-
- All Implemented Interfaces:
public interface FileService
-
-
Method Summary
Modifier and Type Method Description abstract VectorStoreFilecreate(BetaVectorStoreFileCreateParams params, RequestOptions requestOptions)Create a vector store file by attaching a File to a vector store. abstract VectorStoreFilecreate(BetaVectorStoreFileCreateParams params)Create a vector store file by attaching a File to a vector store. abstract VectorStoreFileretrieve(BetaVectorStoreFileRetrieveParams params, RequestOptions requestOptions)Retrieves a vector store file. abstract VectorStoreFileretrieve(BetaVectorStoreFileRetrieveParams params)Retrieves a vector store file. abstract BetaVectorStoreFileListPagelist(BetaVectorStoreFileListParams params, RequestOptions requestOptions)Returns a list of vector store files. abstract BetaVectorStoreFileListPagelist(BetaVectorStoreFileListParams params)Returns a list of vector store files. abstract VectorStoreFileDeleteddelete(BetaVectorStoreFileDeleteParams params, RequestOptions requestOptions)Delete a vector store file. abstract VectorStoreFileDeleteddelete(BetaVectorStoreFileDeleteParams params)Delete a vector store file. -
-
Method Detail
-
create
abstract VectorStoreFile create(BetaVectorStoreFileCreateParams params, RequestOptions requestOptions)
Create a vector store file by attaching a File to a vector store.
-
create
abstract VectorStoreFile create(BetaVectorStoreFileCreateParams params)
Create a vector store file by attaching a File to a vector store.
-
retrieve
abstract VectorStoreFile retrieve(BetaVectorStoreFileRetrieveParams params, RequestOptions requestOptions)
Retrieves a vector store file.
-
retrieve
abstract VectorStoreFile retrieve(BetaVectorStoreFileRetrieveParams params)
Retrieves a vector store file.
-
list
abstract BetaVectorStoreFileListPage list(BetaVectorStoreFileListParams params, RequestOptions requestOptions)
Returns a list of vector store files.
-
list
abstract BetaVectorStoreFileListPage list(BetaVectorStoreFileListParams params)
Returns a list of vector store files.
-
delete
abstract 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.
-
delete
abstract VectorStoreFileDeleted delete(BetaVectorStoreFileDeleteParams params)
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.
-
-
-
-