ParallelSearchRetriever is a LangChain BaseRetriever backed by Parallel’s Search API. It returns list[Document] with rich metadata (url, title, publish_date, search_id, excerpts, query) and slots into any RAG pipeline.
Looking for an LLM-callable tool that returns the raw search response instead of
Documents? See ParallelSearchTool.概述
集成详情
设置
该集成位于langchain-parallel 包中。
凭证
Head to Parallel to sign up and generate an API key. SetPARALLEL_API_KEY in your environment:
实例化
用法
Each returnedDocument has its excerpts joined into page_content and exposes the source URL, title, and publish date in metadata:
Configured search
Pass anobjective for a richer retrieval target alongside the keyword search_queries. The retriever forwards source and fetch policies to the underlying Search API.
Async
在链中使用
ParallelSearchRetriever plugs into any LangChain chain:
API 参考
For detailed documentation, head to theParallelSearchRetriever API reference or the Parallel Search API guides.
连接这些文档到 Claude、VSCode 等工具,通过 MCP 获取实时答案。

