Skip to content

Commit 4559291

Browse files
committed
docs: update Perplexity adapter pages to ToolAdapter (D-13)
Class 4B paired docs commit for SR-003 (loop-engine `6843194`). Updates the five MDX pages that referenced the `LLMAdapter` interface to instead reference `ToolAdapter`, matching the post-rename source state in `@loop-engine/core`. The five pages: - `content/docs/integrations/index.mdx` - `content/docs/changelog.mdx` (Unreleased section only; becomes the 1.0.0-rc.0 entry) - `content/docs/ai-and-automation/ai-as-actor.mdx` (two references) - `content/docs/integrations/perplexity.mdx` - `content/docs/packages/adapter-perplexity.mdx` The four other AI provider pages (Anthropic / OpenAI / Gemini / Grok) are untouched here. Their re-homing onto `ActorAdapter` is a separate Phase A.3 work item (D-13 secondary; not part of SR-003's narrow scope). Verification: `npx tsc --noEmit` green; `pnpm lint` green; `pnpm build` green (12+ routes prerendered, no MDX parse errors). Surface-Reconciliation-Id: SR-003
1 parent 41d6f1a commit 4559291

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

content/docs/ai-and-automation/ai-as-actor.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ The full dual-provider walkthrough is in `/docs/examples/ai-replenishment`, with
112112
| [`@loop-engine/adapter-openai`](/docs/packages/adapter-openai) | OpenAI (`gpt-4o`, o-series) |
113113
| [`@loop-engine/adapter-grok`](/docs/packages/adapter-grok) | Grok (`grok-3`, `grok-2`) via xAI |
114114
| [`@loop-engine/adapter-gemini`](/docs/packages/adapter-gemini) | Gemini (`gemini-1.5-pro`, `gemini-2.0-flash`) |
115-
| [`@loop-engine/adapter-perplexity`](/docs/packages/adapter-perplexity) | Perplexity Sonar (`sonar`, `sonar-pro`, …) — `LLMAdapter` with citations for research steps |
115+
| [`@loop-engine/adapter-perplexity`](/docs/packages/adapter-perplexity) | Perplexity Sonar (`sonar`, `sonar-pro`, …) — `ToolAdapter` with citations for research steps |
116116

117-
The Perplexity package implements `LLMAdapter.invoke()` (text + citations), not the actor `createSubmission` flow. Use it where you need grounded retrieval inside a loop; use the actor adapters above for structured signal decisions.
117+
The Perplexity package implements `ToolAdapter.invoke()` (text + citations), not the actor `createSubmission` flow. Use it where you need grounded retrieval inside a loop; use the actor adapters above for structured signal decisions.
118118

119119
## Related
120120

content/docs/changelog.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Versioning: [Semantic Versioning](https://semver.org/)
1414
## Unreleased
1515

1616
### Added
17-
- `@loop-engine/adapter-perplexity` — Perplexity Sonar `LLMAdapter` with citations, retries, and `guardEvidence` integration
18-
- `@loop-engine/core``LLMAdapter`, `AdapterInput` / `AdapterOutput`, and deep `guardEvidence()` for adapter audit redaction
17+
- `@loop-engine/adapter-perplexity` — Perplexity Sonar `ToolAdapter` with citations, retries, and `guardEvidence` integration
18+
- `@loop-engine/core``ToolAdapter`, `AdapterInput` / `AdapterOutput`, and deep `guardEvidence()` for adapter audit redaction
1919
- Docs: `docs/integrations-perplexity.md` (Sonar vs [Perplexity Computer skills](https://www.perplexity.ai/computer/skills))
2020
- Release contract stub: `.rc/adapter-perplexity.json` (RC **DRAFT** until promoted **LOCKED**)
2121

content/docs/integrations/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Connect Loop Engine to any AI provider, agentic platform, storage backend, or ob
88

99
## ⟩ AI Providers
1010

11-
Use any major LLM as a governed actor. Provider actor adapters produce the same `AIAgentActor` shape — switching providers requires changing one import. Perplexity Sonar covers **grounded retrieval with citations** as an `LLMAdapter` for research steps (see the package reference).
11+
Use any major LLM as a governed actor. Provider actor adapters produce the same `AIAgentActor` shape — switching providers requires changing one import. Perplexity Sonar covers **grounded retrieval with citations** as a `ToolAdapter` for research steps (see the package reference).
1212

1313
<div className="grid gap-4 md:grid-cols-2">
1414
<IntegrationCard

content/docs/integrations/perplexity.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ section: Integrations
1818

1919
## What it does
2020

21-
`@loop-engine/adapter-perplexity` implements `LLMAdapter.invoke()` against the Sonar chat API. You get answer text plus structured citations for audit and evidence attachment. Use it where provenance matters more than open-ended generation.
21+
`@loop-engine/adapter-perplexity` implements `ToolAdapter.invoke()` against the Sonar chat API. You get answer text plus structured citations for audit and evidence attachment. Use it where provenance matters more than open-ended generation.
2222

2323
## When to use it
2424

content/docs/packages/adapter-perplexity.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ section: "packages"
1010

1111
## Overview
1212

13-
`@loop-engine/adapter-perplexity` wraps the Perplexity Sonar chat API as a Loop Engine `LLMAdapter`. Sonar adds grounded web retrieval with cited sources. You use it for Loop steps that need real-time, verifiable information — regulatory lookups, compliance research, supplier or market news. It is not a general-purpose generation adapter; for broad LLM actor flows, use [Anthropic](/docs/packages/adapter-anthropic) or [OpenAI](/docs/packages/adapter-openai) actor adapters.
13+
`@loop-engine/adapter-perplexity` wraps the Perplexity Sonar chat API as a Loop Engine `ToolAdapter`. Sonar adds grounded web retrieval with cited sources. You use it for Loop steps that need real-time, verifiable information — regulatory lookups, compliance research, supplier or market news. It is not a general-purpose generation adapter; for broad LLM actor flows, use [Anthropic](/docs/packages/adapter-anthropic) or [OpenAI](/docs/packages/adapter-openai) actor adapters.
1414

1515
## Installation
1616

0 commit comments

Comments
 (0)