Class FileSearchTool.FileSearch.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class FileSearchTool.FileSearch.BuilderA builder for FileSearch. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        maxNumResultsfinal FileSearchTool.FileSearch.Builder maxNumResults(Long maxNumResults) The maximum number of results the file search tool should output. The default is 20 for gpt-4*models and 5 forgpt-3.5-turbo. This number should be between 1 and 50 inclusive.Note that the file search tool may output fewer than max_num_resultsresults. See the file search tool documentation for more information.
 - 
                                        maxNumResultsfinal FileSearchTool.FileSearch.Builder maxNumResults(JsonField<Long> maxNumResults) Sets Builder.maxNumResults to an arbitrary JSON value. You should usually call Builder.maxNumResults with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        rankingOptionsfinal FileSearchTool.FileSearch.Builder rankingOptions(FileSearchTool.FileSearch.RankingOptions rankingOptions) The ranking options for the file search. If not specified, the file search tool will use the autoranker and a score_threshold of 0.See the file search tool documentation for more information. 
 - 
                                        rankingOptionsfinal FileSearchTool.FileSearch.Builder rankingOptions(JsonField<FileSearchTool.FileSearch.RankingOptions> rankingOptions) Sets Builder.rankingOptions to an arbitrary JSON value. You should usually call Builder.rankingOptions with a well-typed RankingOptions value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal FileSearchTool.FileSearch.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal FileSearchTool.FileSearch.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal FileSearchTool.FileSearch.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal FileSearchTool.FileSearch.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal FileSearchTool.FileSearch.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal FileSearchTool.FileSearch build() Returns an immutable instance of FileSearch. Further updates to this Builder will not mutate the returned instance. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-