[PR #3827] [MERGED] docs(js): add Perplexity provider page and surface in providers index #3841

Closed
opened 2026-06-05 18:53:20 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3827
Author: @jliounis
Created: 4/30/2026
Status: Merged
Merged: 5/7/2026
Merged by: @lnhsingh

Base: mainHead: feat/add-perplexity-js-provider


📝 Commits (6)

  • 7639c4c docs(js): list @langchain/perplexity in providers overview
  • 020510e docs(js): surface Perplexity Search retriever and tool cards in all_providers
  • ca3cd4d docs(js): add Perplexity provider page
  • fc24600 docs(js): add PerplexitySearchRetriever page
  • 75d2987 docs(js): add PerplexitySearchResults page
  • 9861080 Merge branch 'main' into feat/add-perplexity-js-provider

📊 Changes

5 files changed (+293 additions, -0 deletions)

View changed files

📝 src/oss/javascript/integrations/providers/all_providers.mdx (+14 -0)
📝 src/oss/javascript/integrations/providers/overview.mdx (+1 -0)
src/oss/javascript/integrations/providers/perplexity.mdx (+70 -0)
src/oss/javascript/integrations/retrievers/perplexity_search.mdx (+114 -0)
src/oss/javascript/integrations/tools/perplexity_search.mdx (+94 -0)

📄 Description

Summary

Adds Perplexity to the LangChain JavaScript providers index, mirroring the structure of the existing Python provider page. Follows the merge of @langchain/perplexity v0.1.0 in langchain-ai/langchainjs#10781, which shipped ChatPerplexity, PerplexitySearchRetriever, and PerplexitySearchResults.

The JS providers overview at https://docs.langchain.com/oss/javascript/integrations/providers/overview currently has no Perplexity entry. This PR fixes that.

Changes

Modified:

  • src/oss/javascript/integrations/providers/overview.mdx — adds a row for @langchain/perplexity with NPM downloads/version badges, alongside the other listed providers.
  • src/oss/javascript/integrations/providers/all_providers.mdx — adds two <Card> entries: one for the Perplexity Search retriever, one for the Perplexity Search tool, in the appropriate alphabetical position.

New:

  • src/oss/javascript/integrations/providers/perplexity.mdx — provider landing page covering installation, env-var setup, and import paths for ChatPerplexity, PerplexitySearchRetriever, and PerplexitySearchResults. Mirrors src/oss/python/integrations/providers/perplexity.mdx.
  • src/oss/javascript/integrations/retrievers/perplexity_search.mdx — full integration page for PerplexitySearchRetriever with usage example, parity table referencing the Python equivalent, and link to the Search API docs.
  • src/oss/javascript/integrations/tools/perplexity_search.mdx — full integration page for PerplexitySearchResults with usage example, parity table, and link to the Search API docs.

Notes

  • No new chat-model page added — src/oss/javascript/integrations/chat/perplexity.mdx already exists upstream and is correctly linked from the new provider page.
  • All examples reference the Perplexity Search API for grounded web search.

Closes parity gap with the Python provider docs.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3827 **Author:** [@jliounis](https://github.com/jliounis) **Created:** 4/30/2026 **Status:** ✅ Merged **Merged:** 5/7/2026 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `feat/add-perplexity-js-provider` --- ### 📝 Commits (6) - [`7639c4c`](https://github.com/langchain-ai/docs/commit/7639c4c395149485ad06004ec437015948c889c1) docs(js): list @langchain/perplexity in providers overview - [`020510e`](https://github.com/langchain-ai/docs/commit/020510e1f35be832e52f1f1560ee84769771d6b1) docs(js): surface Perplexity Search retriever and tool cards in all_providers - [`ca3cd4d`](https://github.com/langchain-ai/docs/commit/ca3cd4dd5e53f816f40908c071c0bbb51f2bd576) docs(js): add Perplexity provider page - [`fc24600`](https://github.com/langchain-ai/docs/commit/fc24600c1d23312022cca645da8501f5cb58b784) docs(js): add PerplexitySearchRetriever page - [`75d2987`](https://github.com/langchain-ai/docs/commit/75d298717c419651a3012653bfff09d04463685b) docs(js): add PerplexitySearchResults page - [`9861080`](https://github.com/langchain-ai/docs/commit/98610804d68d9a6ae7e74b5954f6a808ed89390c) Merge branch 'main' into feat/add-perplexity-js-provider ### 📊 Changes **5 files changed** (+293 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/javascript/integrations/providers/all_providers.mdx` (+14 -0) 📝 `src/oss/javascript/integrations/providers/overview.mdx` (+1 -0) ➕ `src/oss/javascript/integrations/providers/perplexity.mdx` (+70 -0) ➕ `src/oss/javascript/integrations/retrievers/perplexity_search.mdx` (+114 -0) ➕ `src/oss/javascript/integrations/tools/perplexity_search.mdx` (+94 -0) </details> ### 📄 Description ## Summary Adds Perplexity to the LangChain JavaScript providers index, mirroring the structure of the existing Python provider page. Follows the merge of [`@langchain/perplexity` v0.1.0](https://www.npmjs.com/package/@langchain/perplexity) in [langchain-ai/langchainjs#10781](https://github.com/langchain-ai/langchainjs/pull/10781), which shipped `ChatPerplexity`, `PerplexitySearchRetriever`, and `PerplexitySearchResults`. The JS providers overview at https://docs.langchain.com/oss/javascript/integrations/providers/overview currently has no Perplexity entry. This PR fixes that. ## Changes **Modified:** - `src/oss/javascript/integrations/providers/overview.mdx` — adds a row for `@langchain/perplexity` with NPM downloads/version badges, alongside the other listed providers. - `src/oss/javascript/integrations/providers/all_providers.mdx` — adds two `<Card>` entries: one for the Perplexity Search retriever, one for the Perplexity Search tool, in the appropriate alphabetical position. **New:** - `src/oss/javascript/integrations/providers/perplexity.mdx` — provider landing page covering installation, env-var setup, and import paths for `ChatPerplexity`, `PerplexitySearchRetriever`, and `PerplexitySearchResults`. Mirrors `src/oss/python/integrations/providers/perplexity.mdx`. - `src/oss/javascript/integrations/retrievers/perplexity_search.mdx` — full integration page for `PerplexitySearchRetriever` with usage example, parity table referencing the Python equivalent, and link to the Search API docs. - `src/oss/javascript/integrations/tools/perplexity_search.mdx` — full integration page for `PerplexitySearchResults` with usage example, parity table, and link to the Search API docs. ## Notes - No new chat-model page added — `src/oss/javascript/integrations/chat/perplexity.mdx` already exists upstream and is correctly linked from the new provider page. - All examples reference the [Perplexity Search API](https://docs.perplexity.ai/docs/search/quickstart) for grounded web search. Closes parity gap with the Python provider docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:53:20 -04:00
yindo closed this issue 2026-06-05 18:53:20 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3841