Class VectorStoreSearchResponse.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class VectorStoreSearchResponse.BuilderA builder for VectorStoreSearchResponse. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        attributesfinal VectorStoreSearchResponse.Builder attributes(VectorStoreSearchResponse.Attributes attributes) 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, booleans, or numbers. 
 - 
                                        attributesfinal VectorStoreSearchResponse.Builder attributes(Optional<VectorStoreSearchResponse.Attributes> attributes) Alias for calling Builder.attributes with attributes.orElse(null).
 - 
                                        attributesfinal VectorStoreSearchResponse.Builder attributes(JsonField<VectorStoreSearchResponse.Attributes> attributes) Sets Builder.attributes to an arbitrary JSON value. You should usually call Builder.attributes with a well-typed Attributes value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        contentfinal VectorStoreSearchResponse.Builder content(List<VectorStoreSearchResponse.Content> content) Content chunks from the file. 
 - 
                                        contentfinal VectorStoreSearchResponse.Builder content(JsonField<List<VectorStoreSearchResponse.Content>> content) Sets Builder.content to an arbitrary JSON value. You should usually call Builder.content with a well-typed List<Content>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addContentfinal VectorStoreSearchResponse.Builder addContent(VectorStoreSearchResponse.Content content) Adds a single Content to Builder.content. 
 - 
                                        fileIdfinal VectorStoreSearchResponse.Builder fileId(String fileId) The ID of the vector store file. 
 - 
                                        fileIdfinal VectorStoreSearchResponse.Builder fileId(JsonField<String> fileId) Sets Builder.fileId to an arbitrary JSON value. You should usually call Builder.fileId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        filenamefinal VectorStoreSearchResponse.Builder filename(String filename) The name of the vector store file. 
 - 
                                        filenamefinal VectorStoreSearchResponse.Builder filename(JsonField<String> filename) Sets Builder.filename to an arbitrary JSON value. You should usually call Builder.filename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        scorefinal VectorStoreSearchResponse.Builder score(Double score) The similarity score for the result. 
 - 
                                        scorefinal VectorStoreSearchResponse.Builder score(JsonField<Double> score) Sets Builder.score to an arbitrary JSON value. You should usually call Builder.score with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal VectorStoreSearchResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal VectorStoreSearchResponse.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal VectorStoreSearchResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal VectorStoreSearchResponse.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal VectorStoreSearchResponse.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal VectorStoreSearchResponse build() Returns an immutable instance of VectorStoreSearchResponse. Further updates to this Builder will not mutate the returned instance. The following fields are required: .attributes() .content() .fileId() .filename() .score()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-