capabilities.work

Generate a chat completion with web search

One step with Perplexity. We can help you get access.

Get something done

Generate a chat completion with web search

Use Perplexity: its Perplexity AI Sonar API lets you generate a chat completion with web search in a single step (POST /v1/sonar). capabilities.work can help you get signed up and connected.

  • How do I get a chat response that pulls in live web search results?
  • Can I limit web search to a single domain or language?
  • Is there a way to cap how much reasoning effort the model spends on a response?
Say it to your AI assistant
  • Generate a chat completion for {messages} using model {model}.
  • Respond to {messages} with web search enabled, returning {return_related_questions} follow-up questions.
  • Search {messages} using {search_mode} mode and return results from {search_domain_filter}.
For your developer

POST /v1/sonar in Perplexity AI Sonar API. Full spec on APIs.io.