Interface FileBatchService
- 
                    
                    
- All Implemented Interfaces:
 
public interface FileBatchService 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceFileBatchService.WithRawResponseA view of FileBatchService that provides access to raw HTTP responses for each method.
 
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withRawResponse
abstract FileBatchService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
 
- 
                                        
withOptions
abstract FileBatchService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
create
VectorStoreFileBatch create(String vectorStoreId, FileBatchCreateParams params)
Create a vector store file batch.
 
- 
                                        
create
VectorStoreFileBatch create(String vectorStoreId, FileBatchCreateParams params, RequestOptions requestOptions)
 
- 
                                        
create
VectorStoreFileBatch create(FileBatchCreateParams params)
 
- 
                                        
create
abstract VectorStoreFileBatch create(FileBatchCreateParams params, RequestOptions requestOptions)
 
- 
                                        
retrieve
VectorStoreFileBatch retrieve(String batchId, FileBatchRetrieveParams params)
Retrieves a vector store file batch.
 
- 
                                        
retrieve
VectorStoreFileBatch retrieve(String batchId, FileBatchRetrieveParams params, RequestOptions requestOptions)
 
- 
                                        
retrieve
VectorStoreFileBatch retrieve(FileBatchRetrieveParams params)
 
- 
                                        
retrieve
abstract VectorStoreFileBatch retrieve(FileBatchRetrieveParams params, RequestOptions requestOptions)
 
- 
                                        
cancel
VectorStoreFileBatch cancel(String batchId, FileBatchCancelParams params)
Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.
 
- 
                                        
cancel
VectorStoreFileBatch cancel(String batchId, FileBatchCancelParams params, RequestOptions requestOptions)
 
- 
                                        
cancel
VectorStoreFileBatch cancel(FileBatchCancelParams params)
 
- 
                                        
cancel
abstract VectorStoreFileBatch cancel(FileBatchCancelParams params, RequestOptions requestOptions)
 
- 
                                        
listFiles
FileBatchListFilesPage listFiles(String batchId, FileBatchListFilesParams params)
Returns a list of vector store files in a batch.
 
- 
                                        
listFiles
FileBatchListFilesPage listFiles(String batchId, FileBatchListFilesParams params, RequestOptions requestOptions)
 
- 
                                        
listFiles
FileBatchListFilesPage listFiles(FileBatchListFilesParams params)
 
- 
                                        
listFiles
abstract FileBatchListFilesPage listFiles(FileBatchListFilesParams params, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -