Skip to content

feat: add Decisions API - #105

Merged
qirh merged 1 commit into
mainfrom
perplexity/decisions
Oct 15, 2026
Merged

qirh merged 1 commit into
mainfrom
perplexity/decisions

Conversation

@qirh

@qirh qirh commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Add typed Decisions questions and answers, public type exports, and usage documentation. Preserve mixed question types and inline request objects.

A real mixed request returned noul, choice, and score answers with confidence, probability maps, the score legend, and token usage. Consumer checks cover the discriminated request and response types.

@swatikumar-pplx swatikumar-pplx left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Holding approval on the answer-field optionality question in ppl-ai/agi#243772 — generated from it. Tested: tsc/oxlint/tests pass, fetch-mock smoke.

Comment thread src/generated/api.ts
@qirh
qirh force-pushed the perplexity/decisions branch from 23a7b22 to 9d67189 Compare October 14, 2026 18:01
@qirh
qirh changed the base branch from main to perplexity/agent-models October 14, 2026 18:01
@qirh
qirh added this pull request to stack #108 October 14, 2026 18:01
@qirh
qirh force-pushed the perplexity/decisions branch 2 times, most recently from e7c6369 to e1c7112 Compare October 15, 2026 02:01
Base automatically changed from perplexity/agent-models to main October 15, 2026 02:04
@qirh
qirh force-pushed the perplexity/decisions branch from e1c7112 to 81aadd6 Compare October 15, 2026 02:04
@qirh
qirh merged commit 3795f06 into main Oct 15, 2026
6 checks passed
@qirh
qirh deleted the perplexity/decisions branch October 15, 2026 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants