Perplexity
Perplexity is the most powerful way to search the internet with unlimited Pro Search, upgraded AI models, unlimited file upload, image generation, and API credits.
You can check a list of available models.
安装与设置
安装Perplexity x LangChain集成包:
pip install langchain-perplexity
从这里获取您的API密钥。
聊天模型
在此处查看各种使用示例这里。
from langchain_perplexity import ChatPerplexity
API 参考:ChatPerplexity