Blocks

Perplexity

Use Perplexity AI chat models

Generate completions using Perplexity AI models with real-time knowledge and search capabilities. Create responses, answer questions, and generate content with customizable parameters.

Back to Catalog
Toolsperplexity

Block Preview

Perplexity

Perplexity

Use Perplexity AI chat models

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the perplexity block with monitoring enabled in production.

Inputs (UI)

System Prompt

long-input

Placeholder: Optional system prompt to guide the model behavior...

Layout: full

User Prompt

long-input

Placeholder: Enter your prompt here...

Layout: full

Model

dropdown

Layout: half

Options: Sonar, Mistral, Claude-3-Opus, Claude-3-Sonnet

Temperature

slider

Layout: half

Max Tokens

short-input

Placeholder: Maximum number of tokens

Layout: half

API Key

short-input

Placeholder: Enter your Perplexity API key

Layout: full

Inputs (API)

prompt

string

Required

system

string

Optional

model

string

Required

max_tokens

string

Optional

temperature

string

Optional

apiKey

string

Required

Outputs

Primary response type:

{
  "content": "string",
  "model": "string",
  "usage": "json"
}

Tool Access

perplexity_chat
Perplexity | NowFlow Blocks