Class ThreadCreateParams.ToolResources.FileSearch.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ThreadCreateParams.ToolResources.FileSearch.BuilderA builder for FileSearch.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
vectorStoreIds
final ThreadCreateParams.ToolResources.FileSearch.Builder vectorStoreIds(List<String> vectorStoreIds)
The vector store attached to this thread. There can be a maximum of 1 vector store attached to the thread.
 
- 
                                        
vectorStoreIds
final ThreadCreateParams.ToolResources.FileSearch.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. 
- 
                                        
addVectorStoreId
final ThreadCreateParams.ToolResources.FileSearch.Builder addVectorStoreId(String vectorStoreId)
Adds a single String to vectorStoreIds.
 
- 
                                        
vectorStores
final ThreadCreateParams.ToolResources.FileSearch.Builder vectorStores(List<ThreadCreateParams.ToolResources.FileSearch.VectorStore> vectorStores)
A helper to create a vector store with file_ids and attach it to this thread. There can be a maximum of 1 vector store attached to the thread.
 
- 
                                        
vectorStores
final ThreadCreateParams.ToolResources.FileSearch.Builder vectorStores(JsonField<List<ThreadCreateParams.ToolResources.FileSearch.VectorStore>> vectorStores)
Sets Builder.vectorStores to an arbitrary JSON value.
You should usually call Builder.vectorStores with a well-typed
List<VectorStore>value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
- 
                                        
addVectorStore
final ThreadCreateParams.ToolResources.FileSearch.Builder addVectorStore(ThreadCreateParams.ToolResources.FileSearch.VectorStore vectorStore)
Adds a single VectorStore to vectorStores.
 
- 
                                        
additionalProperties
final ThreadCreateParams.ToolResources.FileSearch.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ThreadCreateParams.ToolResources.FileSearch.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ThreadCreateParams.ToolResources.FileSearch.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ThreadCreateParams.ToolResources.FileSearch.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ThreadCreateParams.ToolResources.FileSearch.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ThreadCreateParams.ToolResources.FileSearch build()
Returns an immutable instance of FileSearch.
Further updates to this Builder will not mutate the returned instance.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -