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