Interface FileServiceAsync
- 
                    
                    - All Implemented Interfaces:
 
 public interface FileServiceAsync
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceFileServiceAsync.WithRawResponseA view of FileServiceAsync that provides access to raw HTTP responses for each method. 
 - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        withRawResponseabstract FileServiceAsync.WithRawResponse withRawResponse() Returns a view of this service that provides access to raw HTTP responses for each method. 
 - 
                                        withOptionsabstract FileServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier) Returns a view of this service with the given option modifications applied. The original service is not modified. 
 - 
                                        createCompletableFuture<FileObject> create(FileCreateParams params) Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 1 TB. The Assistants API supports files up to 2 million tokens and of specific file types. See the Assistants Tools guide for details. The Fine-tuning API only supports .jsonlfiles. The input also has certain required formats for fine-tuning chat or completions models.The Batch API only supports .jsonlfiles up to 200 MB in size. The input also has a specific required format.Please contact us if you need to increase these storage limits. 
 - 
                                        createabstract CompletableFuture<FileObject> create(FileCreateParams params, RequestOptions requestOptions) 
 - 
                                        retrieveCompletableFuture<FileObject> retrieve(String fileId) Returns information about a specific file. 
 - 
                                        retrieveCompletableFuture<FileObject> retrieve(String fileId, FileRetrieveParams params, RequestOptions requestOptions) 
 - 
                                        retrieveCompletableFuture<FileObject> retrieve(String fileId, FileRetrieveParams params) 
 - 
                                        retrieveabstract CompletableFuture<FileObject> retrieve(FileRetrieveParams params, RequestOptions requestOptions) 
 - 
                                        retrieveCompletableFuture<FileObject> retrieve(FileRetrieveParams params) 
 - 
                                        retrieveCompletableFuture<FileObject> retrieve(String fileId, RequestOptions requestOptions) 
 - 
                                        listCompletableFuture<FileListPageAsync> list() Returns a list of files. 
 - 
                                        listabstract CompletableFuture<FileListPageAsync> list(FileListParams params, RequestOptions requestOptions) 
 - 
                                        listCompletableFuture<FileListPageAsync> list(FileListParams params) 
 - 
                                        listCompletableFuture<FileListPageAsync> list(RequestOptions requestOptions) 
 - 
                                        deleteCompletableFuture<FileDeleted> delete(String fileId) Delete a file and remove it from all vector stores. 
 - 
                                        deleteCompletableFuture<FileDeleted> delete(String fileId, FileDeleteParams params, RequestOptions requestOptions) 
 - 
                                        deleteCompletableFuture<FileDeleted> delete(String fileId, FileDeleteParams params) 
 - 
                                        deleteabstract CompletableFuture<FileDeleted> delete(FileDeleteParams params, RequestOptions requestOptions) 
 - 
                                        deleteCompletableFuture<FileDeleted> delete(FileDeleteParams params) 
 - 
                                        deleteCompletableFuture<FileDeleted> delete(String fileId, RequestOptions requestOptions) 
 - 
                                        contentCompletableFuture<HttpResponse> content(String fileId) Returns the contents of the specified file. 
 - 
                                        contentCompletableFuture<HttpResponse> content(String fileId, FileContentParams params, RequestOptions requestOptions) 
 - 
                                        contentCompletableFuture<HttpResponse> content(String fileId, FileContentParams params) 
 - 
                                        contentabstract CompletableFuture<HttpResponse> content(FileContentParams params, RequestOptions requestOptions) 
 - 
                                        contentCompletableFuture<HttpResponse> content(FileContentParams params) 
 - 
                                        contentCompletableFuture<HttpResponse> content(String fileId, RequestOptions requestOptions) 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-