Skip to main content
Open on GitHub

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.

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
API Reference:ChatPerplexity

Was this page helpful?