Class FileSearchTool
- 
                    
                    - All Implemented Interfaces:
 
 public final class FileSearchToolA tool that searches for relevant content from uploaded files. Learn more about the file search tool. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classFileSearchTool.BuilderA builder for FileSearchTool. public final classFileSearchTool.FiltersA filter to apply. public final classFileSearchTool.RankingOptionsRanking options for search. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final JsonValue_type()The type of the file search tool. final List<String>vectorStoreIds()The IDs of the vector stores to search. final Optional<FileSearchTool.Filters>filters()A filter to apply. final Optional<Long>maxNumResults()The maximum number of results to return. final Optional<FileSearchTool.RankingOptions>rankingOptions()Ranking options for search. final JsonField<List<String>>_vectorStoreIds()Returns the raw JSON value of vectorStoreIds. final JsonField<FileSearchTool.Filters>_filters()Returns the raw JSON value of filters. final JsonField<Long>_maxNumResults()Returns the raw JSON value of maxNumResults. final JsonField<FileSearchTool.RankingOptions>_rankingOptions()Returns the raw JSON value of rankingOptions. final Map<String, JsonValue>_additionalProperties()final FileSearchTool.BuildertoBuilder()final FileSearchToolvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileSearchTool.Builderbuilder()Returns a mutable builder for constructing an instance of FileSearchTool. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        _typefinal JsonValue _type() The type of the file search tool. Always file_search.Expected to always return the following: JsonValue.from("file_search")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        vectorStoreIdsfinal List<String> vectorStoreIds() The IDs of the vector stores to search. 
 - 
                                        filtersfinal Optional<FileSearchTool.Filters> filters() A filter to apply. 
 - 
                                        maxNumResultsfinal Optional<Long> maxNumResults() The maximum number of results to return. This number should be between 1 and 50 inclusive. 
 - 
                                        rankingOptionsfinal Optional<FileSearchTool.RankingOptions> rankingOptions() Ranking options for search. 
 - 
                                        _vectorStoreIdsfinal JsonField<List<String>> _vectorStoreIds() Returns the raw JSON value of vectorStoreIds. Unlike vectorStoreIds, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _filtersfinal JsonField<FileSearchTool.Filters> _filters() Returns the raw JSON value of filters. Unlike filters, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _maxNumResultsfinal JsonField<Long> _maxNumResults() Returns the raw JSON value of maxNumResults. Unlike maxNumResults, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _rankingOptionsfinal JsonField<FileSearchTool.RankingOptions> _rankingOptions() Returns the raw JSON value of rankingOptions. Unlike rankingOptions, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal FileSearchTool.Builder toBuilder() 
 - 
                                        validatefinal FileSearchTool validate() 
 - 
                                        builderfinal static FileSearchTool.Builder builder() Returns a mutable builder for constructing an instance of FileSearchTool. The following fields are required: .vectorStoreIds()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-