Class AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class AssistantCreateParams.ToolResources.FileSearch.VectorStore.BuilderA builder for VectorStore.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
chunkingStrategy
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder chunkingStrategy(AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy chunkingStrategy)
The chunking strategy used to chunk the file(s). If not set, will use the
autostrategy. 
- 
                                        
chunkingStrategy
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder chunkingStrategy(JsonField<AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy> chunkingStrategy)
Sets Builder.chunkingStrategy to an arbitrary JSON value.
You should usually call Builder.chunkingStrategy with a well-typed ChunkingStrategy value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
chunkingStrategy
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder chunkingStrategy(AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject static_)
Alias for calling chunkingStrategy with
ChunkingStrategy.ofStatic(static_). 
- 
                                        
chunkingStrategyAuto
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder chunkingStrategyAuto()
Alias for calling chunkingStrategy with
ChunkingStrategy.ofAuto(). 
- 
                                        
staticChunkingStrategy
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder staticChunkingStrategy(AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy.StaticObject.Static static_)
Alias for calling chunkingStrategy with the following:
ChunkingStrategy.StaticObject.builder() .static_(static_) .build() 
- 
                                        
fileIds
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder fileIds(List<String> fileIds)
A list of file IDs to add to the vector store. There can be a maximum of 10000 files in a vector store.
 
- 
                                        
fileIds
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder fileIds(JsonField<List<String>> fileIds)
Sets Builder.fileIds to an arbitrary JSON value.
You should usually call Builder.fileIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
- 
                                        
addFileId
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder addFileId(String fileId)
 
- 
                                        
metadata
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder metadata(AssistantCreateParams.ToolResources.FileSearch.VectorStore.Metadata metadata)
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
 
- 
                                        
metadata
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder metadata(Optional<AssistantCreateParams.ToolResources.FileSearch.VectorStore.Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null). 
- 
                                        
metadata
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder metadata(JsonField<AssistantCreateParams.ToolResources.FileSearch.VectorStore.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final AssistantCreateParams.ToolResources.FileSearch.VectorStore build()
Returns an immutable instance of VectorStore.
Further updates to this Builder will not mutate the returned instance.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -