Class ChatCompletionCreateParams.WebSearchOptions
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatCompletionCreateParams.WebSearchOptionsThis tool searches the web for relevant results to use in a response. Learn more about the web search tool. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classChatCompletionCreateParams.WebSearchOptions.BuilderA builder for WebSearchOptions. public final classChatCompletionCreateParams.WebSearchOptions.SearchContextSizeHigh level guidance for the amount of context window space to use for the search. One of low,medium, orhigh.mediumis the default.public final classChatCompletionCreateParams.WebSearchOptions.UserLocationApproximate location parameters for the search. 
 - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        searchContextSizefinal Optional<ChatCompletionCreateParams.WebSearchOptions.SearchContextSize> searchContextSize() High level guidance for the amount of context window space to use for the search. One of low,medium, orhigh.mediumis the default.
 - 
                                        userLocationfinal Optional<ChatCompletionCreateParams.WebSearchOptions.UserLocation> userLocation() Approximate location parameters for the search. 
 - 
                                        _searchContextSizefinal JsonField<ChatCompletionCreateParams.WebSearchOptions.SearchContextSize> _searchContextSize() Returns the raw JSON value of searchContextSize. Unlike searchContextSize, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _userLocationfinal JsonField<ChatCompletionCreateParams.WebSearchOptions.UserLocation> _userLocation() Returns the raw JSON value of userLocation. Unlike userLocation, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ChatCompletionCreateParams.WebSearchOptions.Builder toBuilder() 
 - 
                                        validatefinal ChatCompletionCreateParams.WebSearchOptions validate() 
 - 
                                        builderfinal static ChatCompletionCreateParams.WebSearchOptions.Builder builder() Returns a mutable builder for constructing an instance of WebSearchOptions. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-