Class PerplexityWebSearchOptions
- Namespace
- Glitch9.AIDevKit.Perplexity
public class PerplexityWebSearchOptions
- Inheritance
-
objectPerplexityWebSearchOptions
Properties
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.
public bool? ImageSearchRelevanceEnhanced { get; set; }
Property Value
- 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).
public SearchContextSize? SearchContextSize { get; set; }
Property Value
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.
public Location UserLocation { get; set; }