Class ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.BuilderA builder for InnerStatic.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
chunkOverlapTokens
final ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder chunkOverlapTokens(Long chunkOverlapTokens)
The number of tokens that overlap between chunks. The default value is
400.Note that the overlap must not exceed half of
max_chunk_size_tokens. 
- 
                                        
chunkOverlapTokens
final ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder chunkOverlapTokens(JsonField<Long> chunkOverlapTokens)
Sets Builder.chunkOverlapTokens to an arbitrary JSON value.
You should usually call Builder.chunkOverlapTokens with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
maxChunkSizeTokens
final ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder maxChunkSizeTokens(Long maxChunkSizeTokens)
The maximum number of tokens in each chunk. The default value is
800. The minimum value is100and the maximum value is4096. 
- 
                                        
maxChunkSizeTokens
final ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder maxChunkSizeTokens(JsonField<Long> maxChunkSizeTokens)
Sets Builder.maxChunkSizeTokens to an arbitrary JSON value.
You should usually call Builder.maxChunkSizeTokens with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore.ChunkingStrategy.Static.InnerStatic build()
Returns an immutable instance of InnerStatic.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.chunkOverlapTokens() .maxChunkSizeTokens() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -