Search Results for

    Show / Hide Table of Contents

    Class PerplexityWebSearchOptions

    Inheritance
    object
    PerplexityWebSearchOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Perplexity
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class PerplexityWebSearchOptions

    Properties

    | Edit this page View Source

    ImageSearchRelevanceEnhanced

    Optional. When enabled, improves the relevance of image search results to the user query. Enhanced images will be streamed in later chunks of the response.

    Declaration
    [JsonProperty("image_search_relevance_enhanced")]
    public bool? ImageSearchRelevanceEnhanced { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    SearchContextSize

    Optional. Determines how much search context is retrieved for the model. Options are: low (minimizes context for cost savings but less comprehensive answers), medium (balanced approach suitable for most queries), and high (maximizes context for comprehensive answers but at higher cost).

    Declaration
    [JsonProperty("search_context_size")]
    public SearchContextSize? SearchContextSize { get; set; }
    Property Value
    Type Description
    SearchContextSize?
    | Edit this page View Source

    UserLocation

    Optional. To refine search results based on geography, you can specify an approximate user location. For best accuracy, we recommend providing as many fields as possible including city and region.

    Declaration
    [JsonProperty("user_location")]
    public Location UserLocation { get; set; }
    Property Value
    Type Description
    Location

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation