Class AssistantCreateParams.ToolResources.FileSearch.VectorStore
- 
                    
                    
- All Implemented Interfaces:
 
public final class AssistantCreateParams.ToolResources.FileSearch.VectorStore 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAssistantCreateParams.ToolResources.FileSearch.VectorStore.BuilderA builder for VectorStore.
public final classAssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategyThe chunking strategy used to chunk the file(s). If not set, will use the
autostrategy.public final classAssistantCreateParams.ToolResources.FileSearch.VectorStore.MetadataSet 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.
 
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
chunkingStrategy
final Optional<AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy> chunkingStrategy()
The chunking strategy used to chunk the file(s). If not set, will use the
autostrategy. 
- 
                                        
fileIds
final Optional<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.
 
- 
                                        
metadata
final Optional<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.
 
- 
                                        
_chunkingStrategy
final JsonField<AssistantCreateParams.ToolResources.FileSearch.VectorStore.ChunkingStrategy> _chunkingStrategy()
Returns the raw JSON value of chunkingStrategy.
Unlike chunkingStrategy, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_fileIds
final JsonField<List<String>> _fileIds()
Returns the raw JSON value of fileIds.
Unlike fileIds, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_metadata
final JsonField<AssistantCreateParams.ToolResources.FileSearch.VectorStore.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder toBuilder()
 
- 
                                        
validate
final AssistantCreateParams.ToolResources.FileSearch.VectorStore validate()
 
- 
                                        
builder
final static AssistantCreateParams.ToolResources.FileSearch.VectorStore.Builder builder()
Returns a mutable builder for constructing an instance of VectorStore.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -