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 a Python package:
pip install openai
Get your API key from here.
Chat modelsβ
See a usage example.
from langchain_community.chat_models import ChatPerplexity
API Reference:ChatPerplexity