跳到主要内容
Perplexity 是最强大的互联网搜索方式,它提供无限的专业搜索、升级的 AI 模型、无限的文件上传、图像生成和 API 积分。 您可以查看可用模型列表

安装和设置

安装 Perplexity x LangChain 集成包
pip install langchain-perplexity
在此处获取您的 API 密钥。

聊天模型

在此处查看各种用法示例。
from langchain_perplexity import ChatPerplexity

以编程方式连接这些文档到 Claude、VSCode 等,通过 MCP 获取实时答案。
© . This site is unofficial and not affiliated with LangChain, Inc.