Perplexity - Docs by LangChain (original) (raw)
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.
Installation and Setup
Install the Perplexity x LangChain integration package:
pip install langchain-perplexity
Get your API key from here.
Chat models
See a variety of usage examples here.
from langchain_perplexity import ChatPerplexity
Edit this page on GitHub or file an issue.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.