Class ResponseOutputText.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseOutputText.BuilderA builder for ResponseOutputText. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        annotationsfinal ResponseOutputText.Builder annotations(List<ResponseOutputText.Annotation> annotations) The annotations of the text output. 
 - 
                                        annotationsfinal ResponseOutputText.Builder annotations(JsonField<List<ResponseOutputText.Annotation>> annotations) Sets Builder.annotations to an arbitrary JSON value. You should usually call Builder.annotations with a well-typed List<Annotation>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addAnnotationfinal ResponseOutputText.Builder addAnnotation(ResponseOutputText.Annotation annotation) Adds a single Annotation to annotations. 
 - 
                                        addAnnotationfinal ResponseOutputText.Builder addAnnotation(ResponseOutputText.Annotation.FileCitation fileCitation) Alias for calling addAnnotation with Annotation.ofFileCitation(fileCitation).
 - 
                                        addAnnotationfinal ResponseOutputText.Builder addAnnotation(ResponseOutputText.Annotation.UrlCitation urlCitation) Alias for calling addAnnotation with Annotation.ofUrlCitation(urlCitation).
 - 
                                        addAnnotationfinal ResponseOutputText.Builder addAnnotation(ResponseOutputText.Annotation.ContainerFileCitation containerFileCitation) Alias for calling addAnnotation with Annotation.ofContainerFileCitation(containerFileCitation).
 - 
                                        addAnnotationfinal ResponseOutputText.Builder addAnnotation(ResponseOutputText.Annotation.FilePath filePath) Alias for calling addAnnotation with Annotation.ofFilePath(filePath).
 - 
                                        textfinal ResponseOutputText.Builder text(String text) The text output from the model. 
 - 
                                        textfinal ResponseOutputText.Builder text(JsonField<String> text) Sets Builder.text to an arbitrary JSON value. You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        typefinal ResponseOutputText.Builder type(JsonValue type) 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("output_text")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        logprobsfinal ResponseOutputText.Builder logprobs(List<ResponseOutputText.Logprob> logprobs) 
 - 
                                        logprobsfinal ResponseOutputText.Builder logprobs(JsonField<List<ResponseOutputText.Logprob>> logprobs) Sets Builder.logprobs to an arbitrary JSON value. You should usually call Builder.logprobs with a well-typed List<Logprob>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addLogprobfinal ResponseOutputText.Builder addLogprob(ResponseOutputText.Logprob logprob) 
 - 
                                        additionalPropertiesfinal ResponseOutputText.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ResponseOutputText.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ResponseOutputText.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ResponseOutputText.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ResponseOutputText.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ResponseOutputText build() Returns an immutable instance of ResponseOutputText. Further updates to this Builder will not mutate the returned instance. The following fields are required: .annotations() .text()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-