Perplexityai
Learn how to use Perplexityai with Composio
Overview
SLUG: PERPLEXITYAI
Description
Perplexity AI provides conversational AI models for generating human-like text responses
Authentication Details
API Key
generic_api_key
Connecting to Perplexityai
Create an auth config
Use the dashboard to create an auth config for the Perplexityai toolkit. This allows you to connect multiple Perplexityai accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Perplexityai Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Perplexityai toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Python
Tool List
PERPLEXITYAI_PERPLEXITY_AI_SEARCH
Tool Name: PerplexityAISearch
Description
Action Parameters
frequency_penalty
max_tokens
model
presence_penalty
return_citations
return_images
stream
systemContent
temperature
top_k
top_p
userContent
Action Response
data
error
successful