> ## Documentation Index
> Fetch the complete documentation index at: https://langchain-docs-zh.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 并行集成

> 使用 LangChain Python 集成 Parallel。

本页面涵盖了 LangChain 与 [Parallel](https://platform.parallel.ai/) 的所有集成。

## 安装与配置

`Parallel` 集成位于独立的 [合作伙伴包](https://pypi.org/project/langchain-parallel/) 中：

```bash pip theme={null}
pip install -U langchain-parallel
```

```bash uv theme={null}
uv add langchain-parallel
```

设置 `PARALLEL_API_KEY` 环境变量为你的 Parallel API 密钥。在 [platform.parallel.ai](https://platform.parallel.ai) 上注册以获取密钥。

## 对话模型

> [card] [ChatParallel](https://langchain-docs-zh.mintlify.site/langchain/oss/python/integrations/chat/parallel.md)
>
> 兼容 OpenAI 的对话模型，研究级版本支持可选的网页搜索和字段级引用标注。

## 工具

> [card] [ParallelSearchTool](https://langchain-docs-zh.mintlify.site/langchain/oss/python/integrations/tools/parallel_search.md)
>
> 搜索网络并返回结构化、LLM-优化的摘要。

> [card] [ParallelExtractTool](https://langchain-docs-zh.mintlify.site/langchain/oss/python/integrations/tools/parallel_extract.md)
>
> 从一组 URL 中提取干净的 Markdown 内容。

> [card] [ParallelFindAllTool](https://langchain-docs-zh.mintlify.site/langchain/oss/python/integrations/tools/parallel_findall.md)
>
> 发现满足布尔匹配条件的实体。

> [card] [Task API](https://langchain-docs-zh.mintlify.site/langchain/oss/python/integrations/tools/parallel_task.md)
>
> 运行研究级任务：单次即兴查询、深度研究、批量增强。 `ParallelTaskRunTool`, `ParallelDeepResearch`, `ParallelTaskGroup`, `ParallelEnrichment`。

> [card] [ParallelMonitor](https://langchain-docs-zh.mintlify.site/langchain/oss/python/integrations/tools/parallel_monitor.md)
>
> 按固定周期调度查询，在出现相关新内容时触发事件。

## 检索器

> [card] [ParallelSearchRetriever](https://langchain-docs-zh.mintlify.site/langchain/oss/python/integrations/retrievers/parallel.md)
>
> `BaseRetriever` 基于 Parallel 搜索。返回 `list[Document]` 以无缝集成到任何 RAG 管道。

***

> 官方原文：[src/oss/python/integrations/providers/parallel.mdx](https://github.com/langchain-ai/docs/blob/main/src/oss/python/integrations/providers/parallel.mdx) · 非官方翻译，译文由 AI 生成，以英文原文为准。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.