JevMade Sign in
← Back to guides

JevMade field notes / Python, TypeScript and HTTP quickstart

Ask Perplexity for decisions instead of written replies

Perplexity’s quickstart shows how its own decision model can check a product review for a defect, choose its sentiment and rate the problem’s severity in one request.

Original by PerplexityClassification

Listen to this guide

JevMade’s plain-English explanation

0:00 /

AI narration

Credits

“Decisions API” by Perplexity. Read the original source.

This expanded guide is an AI-narrated adaptation prepared by JevMade. It expands the source’s essential ideas, examples and caveats in JevMade’s own words and is not a word-for-word reading. The synthetic voice does not imitate the author or imply their endorsement.

Our summary

Perplexity’s Decisions service answers set questions rather than writing replies. Its quickstart uses a review about broken headphones: does it report a defect, is the tone positive, mixed or negative, and how serious is the problem? This uses Perplexity’s own decision model, not TypeSafe’s Jev.

The program sends the review and three questions together. It receives probabilities for a defect, possible tones and ordered severity levels. The severity score averages the numbered levels, giving more weight to those the model thinks are more likely. Your code decides what action, if any, follows.

The service needs a Perplexity access key and receives the supplied text or images. Confidence means the model’s own estimate of how sure it is, not proof of correctness or the winning answer’s probability. Repeated answers can vary slightly, so test the numbers your code uses to decide when to act.

Key takeaways

  1. Ask separate questions about one piece of content together; the response keeps the names you gave each question.
  2. Read the full spread of probabilities and the severity scale; an average and a confidence estimate are different numbers.
  3. Keep secrets out of submitted content, check failures before reading answers, and test the numbers that trigger an action with real examples.

Source-reviewed, not executed by JevMade. The documented model is pplx-decider-v1-27b; the API is not described here as Jev. Prices, limits, example answers and September 30 response-time measurements are Perplexity’s reports. Images must be supplied as encoded data, not remote links. No publication date or article narration permission was verified.

Perplexity API Documentation

Read the original guide Opens the author’s site in a new tab.

Keep this for later

Sign in to bookmark experiments, guides and videos, and keep notes only you can see.

Continue to sign in

We’ll bring you back to this listing.