Show / Hide Table of Contents

Class WebSearchOptions

Options for performing a web search to augment the response.

Inheritance
object
WebSearchOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class WebSearchOptions

Properties

SearchContextSize

Declaration
[JsonProperty(PropertyName = "searchContextSize")]
[JsonConverter(typeof(StringEnumConverter))]
public WebSearchOptions.SearchContextSizeEnum? SearchContextSize { get; set; }
Property Value
Type Description
WebSearchOptions.SearchContextSizeEnum?

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.

UserLocation

Declaration
[JsonProperty(PropertyName = "userLocation")]
public ApproximateLocation UserLocation { get; set; }
Property Value
Type Description
ApproximateLocation
In this article
Back to top