# Perplexity AI integration

> Web-grounded conversational AI, search, embeddings, and agent APIs powered by Perplexity's Sonar models.

- Authentication: apiKey

## Tools (8)

- **Create Async Chat Completion**: Submit a long-running deep-research chat completion. Returns an ID to poll with Get Async Chat Completion.
- **Create Chat Completion**: Generate a web-grounded chat completion using a Sonar model, with citations, optional structured output, and search filtering.
- **Create Contextualized Embeddings**: Generate context-aware vector embeddings for chunks of a document, improving retrieval quality over independent per-chunk embeddings.
- **Create Embeddings**: Generate vector embeddings for independent texts (queries, sentences, documents) using Perplexity's embedding models.
- **Execute Agent**: Run a multi-step agent with built-in tools (web search, URL fetching, function calling), reasoning, and multi-model fallbacks.
- **Get Async Chat Completion**: Retrieve the status and result of an async chat completion job by ID.
- **List Async Chat Completions**: List all async chat completion requests for the authenticated account, paginated by next_token.
- **Search the Web (Raw Results)**: Return ranked raw web search results from Perplexity's index, without LLM processing.

## Related prompts

- [Weekly mortgage and housing market update draft in Gmail](https://www.generalinput.com/prompts/weekly-mortgage-and-housing-market-update-draft-in-gmail.md)
- [Daily macro morning brief in Slack](https://www.generalinput.com/prompts/daily-macro-morning-brief-in-slack.md)
- [Monthly macro memo to Notion](https://www.generalinput.com/prompts/monthly-macro-memo-to-notion.md)
- [Auto-diagnose new Linear bug reports with Perplexity research](https://www.generalinput.com/prompts/auto-diagnose-new-linear-bug-reports-with-perplexity-research.md)
- [Auto-research new HubSpot contacts with Perplexity](https://www.generalinput.com/prompts/auto-research-new-hubspot-contacts-with-perplexity.md)
- [Personalized morning news brief in your inbox before standup](https://www.generalinput.com/prompts/personalized-morning-news-brief-in-your-inbox-before-standup.md)
- [Turn editorial calendar topics into researched Notion briefs](https://www.generalinput.com/prompts/turn-editorial-calendar-topics-into-researched-notion-briefs.md)
- [Weekly competitor stock pulse delivered to Notion every Monday](https://www.generalinput.com/prompts/weekly-competitor-stock-pulse-delivered-to-notion-every-monday.md)

Connect Perplexity AI in General Input: https://www.generalinput.com/apps/perplexity-ai