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

generic_api_key
stringRequired

Tools

SLUG: PERPLEXITYAI_PERPLEXITY_AI_SEARCH

Perplexity ai search interfaces with perplexity ai to perform search queries and return responses from a range of models. this action manages requests to perplexity ai and processes the resulting completions, which may include text, citations, and images based on selected models and settings. key features include: autoprompting to enhance and refine queries, choice of ai models for various content and performance requirements, temperature settings to manage response randomness, top k and top p filters to fine-tune response generation. beta features include citations and images in results, and response streaming for dynamic interaction. note: the parameters 'presence penalty' and 'frequency penalty' are mutually exclusive and cannot be used simultaneously.

Action Parameters

frequency_penalty
number
max_tokens
integer
model
stringDefaults to sonar
presence_penalty
number
return_citations
boolean
return_images
boolean
stream
boolean
systemContent
stringRequired
temperature
number
top_k
integer
top_p
number
userContent
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired