Interface FileServiceAsync
-
- All Implemented Interfaces:
public interface FileServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
FileServiceAsync.WithRawResponse
A view of FileServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract FileServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<VectorStoreFile> create(FileCreateParams params)
Create a vector store file by attaching a File to a vector store.
-
create
abstract CompletableFuture<VectorStoreFile> create(FileCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<VectorStoreFile> retrieve(FileRetrieveParams params)
Retrieves a vector store file.
-
retrieve
abstract CompletableFuture<VectorStoreFile> retrieve(FileRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<VectorStoreFile> update(FileUpdateParams params)
Update attributes on a vector store file.
-
update
abstract CompletableFuture<VectorStoreFile> update(FileUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<FileListPageAsync> list(FileListParams params)
Returns a list of vector store files.
-
list
abstract CompletableFuture<FileListPageAsync> list(FileListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<VectorStoreFileDeleted> delete(FileDeleteParams 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.
-
delete
abstract CompletableFuture<VectorStoreFileDeleted> delete(FileDeleteParams params, RequestOptions requestOptions)
-
content
CompletableFuture<FileContentPageAsync> content(FileContentParams params)
Retrieve the parsed contents of a vector store file.
-
content
abstract CompletableFuture<FileContentPageAsync> content(FileContentParams params, RequestOptions requestOptions)
-
-
-
-