Class PerplexityWebSearchOptions
Inherited Members
Namespace: Glitch9.AIDevKit.Perplexity
Assembly: Glitch9.AIDevKit.dll
Syntax
public class PerplexityWebSearchOptions
Properties
| Edit this page View SourceImageSearchRelevanceEnhanced
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? |
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? |
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 |