Integrations
Loading
Loading
Integrations
@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.
Install
1npm install @loop-engine/adapter-perplexityCreate the adapter
1import { PerplexityAdapter } from "@loop-engine/adapter-perplexity";2 3const perplexity = new PerplexityAdapter({4 apiKey: process.env.PERPLEXITY_API_KEY!,5 defaultModel: "sonar-pro",6 defaultSearchRecency: "month",7});Invoke from your Loop step
See the full API, metadata keys, and error table on the package reference.