WebSearchConfig.perplexity constructor

WebSearchConfig.perplexity({
  1. WebSearchContextSize contextSize = WebSearchContextSize.medium,
})

Create a Perplexity-optimized configuration

Implementation

factory WebSearchConfig.perplexity({
  WebSearchContextSize contextSize = WebSearchContextSize.medium,
}) =>
    WebSearchConfig(
      contextSize: contextSize,
      strategy: WebSearchStrategy.native,
      searchType: WebSearchType.web,
    );