Perplexity

Perplexity

AI-powered search with citations

With emma's Perplexity integration, you can perform AI-powered searches and get answers with citations. Perfect for research and fact-checking workflows.

Features

Perplexity_Operator supports the following 1 tool:

CategoryTools
Search1
Tool NameDescription
perplexity_searchAI-powered search, get answers with citations

Main Parameters

ParameterDescription
querySearch query
focusSearch focus (internet, academic, etc.)
modelModel to use for search

Prerequisites

  • emma account
  • Perplexity account
  • Perplexity API key

Setup

1. Install the package

npm install @duzzle/perplexity-integration

2. Initialize

import { DuzzlePerplexity } from '@duzzle/perplexity-integration';

const perplexity = new DuzzlePerplexity({
  apiKey: process.env.DUZZLE_API_KEY,
  perplexityApiKey: process.env.PERPLEXITY_API_KEY
});

3. Search

// AI-powered search with citations
const result = await perplexity.search({
  query: 'What are the latest developments in AI?',
  focus: 'internet',
  model: 'llama-3.1-sonar-large-128k-online'
});

console.log('Answer:', result.answer);
console.log('Citations:', result.citations);

© 2026 Duzzle Inc. All rights reserved.