Class WebSearchOptions.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.WebSearchOptions.Builder
-
- Enclosing class:
- WebSearchOptions
public static class WebSearchOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebSearchOptions
build()
WebSearchOptions.Builder
copy(WebSearchOptions model)
WebSearchOptions.Builder
searchContextSize(WebSearchOptions.SearchContextSize searchContextSize)
Specifies the size of the web search context.WebSearchOptions.Builder
userLocation(ApproximateLocation userLocation)
-
-
-
Method Detail
-
searchContextSize
public WebSearchOptions.Builder searchContextSize(WebSearchOptions.SearchContextSize searchContextSize)
Specifies the size of the web search context.- HIGH: Most comprehensive context, highest cost, slower response. - MEDIUM: Balanced context, cost, and latency. - LOW: Least context, lowest cost, fastest response, but potentially lower answer quality.
- Parameters:
searchContextSize
- the value to set- Returns:
- this builder
-
userLocation
public WebSearchOptions.Builder userLocation(ApproximateLocation userLocation)
-
build
public WebSearchOptions build()
-
copy
public WebSearchOptions.Builder copy(WebSearchOptions model)
-
-