Class CreateEmbeddingResponse.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class CreateEmbeddingResponse.BuilderA builder for CreateEmbeddingResponse. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        datafinal CreateEmbeddingResponse.Builder data(List<Embedding> data) The list of embeddings generated by the model. 
 - 
                                        datafinal CreateEmbeddingResponse.Builder data(JsonField<List<Embedding>> data) Sets Builder.data to an arbitrary JSON value. You should usually call Builder.data with a well-typed List<Embedding>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addDatafinal CreateEmbeddingResponse.Builder addData(Embedding data) Adds a single Embedding to Builder.data. 
 - 
                                        modelfinal CreateEmbeddingResponse.Builder model(String model) The name of the model used to generate the embedding. 
 - 
                                        modelfinal CreateEmbeddingResponse.Builder model(JsonField<String> model) Sets Builder.model to an arbitrary JSON value. You should usually call Builder.model with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        object_final CreateEmbeddingResponse.Builder object_(JsonValue object_) Sets the field to an arbitrary JSON value. It is usually unnecessary to call this method because the field defaults to the following: JsonValue.from("list")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        usagefinal CreateEmbeddingResponse.Builder usage(CreateEmbeddingResponse.Usage usage) The usage information for the request. 
 - 
                                        usagefinal CreateEmbeddingResponse.Builder usage(JsonField<CreateEmbeddingResponse.Usage> usage) Sets Builder.usage to an arbitrary JSON value. You should usually call Builder.usage with a well-typed Usage value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal CreateEmbeddingResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal CreateEmbeddingResponse.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal CreateEmbeddingResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal CreateEmbeddingResponse.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal CreateEmbeddingResponse.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal CreateEmbeddingResponse build() Returns an immutable instance of CreateEmbeddingResponse. Further updates to this Builder will not mutate the returned instance. The following fields are required: .data() .model() .usage()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-