Class FileSearchTool.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class FileSearchTool.BuilderA builder for FileSearchTool. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        typefinal FileSearchTool.Builder type(JsonValue type) Sets the field to an arbitrary JSON value. It is usually unnecessary to call this method because the field defaults to the following: JsonValue.from("file_search")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        vectorStoreIdsfinal FileSearchTool.Builder vectorStoreIds(List<String> vectorStoreIds) The IDs of the vector stores to search. 
 - 
                                        vectorStoreIdsfinal FileSearchTool.Builder vectorStoreIds(JsonField<List<String>> vectorStoreIds) Sets Builder.vectorStoreIds to an arbitrary JSON value. You should usually call Builder.vectorStoreIds with a well-typed List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addVectorStoreIdfinal FileSearchTool.Builder addVectorStoreId(String vectorStoreId) Adds a single String to vectorStoreIds. 
 - 
                                        filtersfinal FileSearchTool.Builder filters(FileSearchTool.Filters filters) A filter to apply. 
 - 
                                        filtersfinal FileSearchTool.Builder filters(Optional<FileSearchTool.Filters> filters) Alias for calling Builder.filters with filters.orElse(null).
 - 
                                        filtersfinal FileSearchTool.Builder filters(JsonField<FileSearchTool.Filters> filters) Sets Builder.filters to an arbitrary JSON value. You should usually call Builder.filters with a well-typed Filters value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        filtersfinal FileSearchTool.Builder filters(ComparisonFilter comparisonFilter) Alias for calling filters with Filters.ofComparisonFilter(comparisonFilter).
 - 
                                        filtersfinal FileSearchTool.Builder filters(CompoundFilter compoundFilter) Alias for calling filters with Filters.ofCompoundFilter(compoundFilter).
 - 
                                        maxNumResultsfinal FileSearchTool.Builder maxNumResults(Long maxNumResults) The maximum number of results to return. This number should be between 1 and 50 inclusive. 
 - 
                                        maxNumResultsfinal FileSearchTool.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.Builder rankingOptions(FileSearchTool.RankingOptions rankingOptions) Ranking options for search. 
 - 
                                        rankingOptionsfinal FileSearchTool.Builder rankingOptions(JsonField<FileSearchTool.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.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal FileSearchTool.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal FileSearchTool.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal FileSearchTool.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal FileSearchTool.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal FileSearchTool build() Returns an immutable instance of FileSearchTool. Further updates to this Builder will not mutate the returned instance. The following fields are required: .vectorStoreIds()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-