Class ChatKitThreadUserMessageItem.InferenceOptions.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ChatKitThreadUserMessageItem.InferenceOptions.BuilderA builder for InferenceOptions.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
model
final ChatKitThreadUserMessageItem.InferenceOptions.Builder model(String model)
Model name that generated the response. Defaults to null when using the session default.
 
- 
                                        
model
final ChatKitThreadUserMessageItem.InferenceOptions.Builder model(Optional<String> model)
Alias for calling Builder.model with
model.orElse(null). 
- 
                                        
model
final ChatKitThreadUserMessageItem.InferenceOptions.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.
 
- 
                                        
toolChoice
final ChatKitThreadUserMessageItem.InferenceOptions.Builder toolChoice(ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice toolChoice)
Preferred tool to invoke. Defaults to null when ChatKit should auto-select.
 
- 
                                        
toolChoice
final ChatKitThreadUserMessageItem.InferenceOptions.Builder toolChoice(Optional<ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice> toolChoice)
Alias for calling Builder.toolChoice with
toolChoice.orElse(null). 
- 
                                        
toolChoice
final ChatKitThreadUserMessageItem.InferenceOptions.Builder toolChoice(JsonField<ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice> toolChoice)
Sets Builder.toolChoice to an arbitrary JSON value.
You should usually call Builder.toolChoice with a well-typed ToolChoice value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ChatKitThreadUserMessageItem.InferenceOptions.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ChatKitThreadUserMessageItem.InferenceOptions.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ChatKitThreadUserMessageItem.InferenceOptions.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ChatKitThreadUserMessageItem.InferenceOptions.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ChatKitThreadUserMessageItem.InferenceOptions.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ChatKitThreadUserMessageItem.InferenceOptions build()
Returns an immutable instance of InferenceOptions.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.model() .toolChoice() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -