logo
It’s easy to set up Typing Mind for using with Perplexity AI (https://www.perplexity.ai/) Here is a quick guide.
πŸ’‘
Perplexity AI model is different from the Perplexity Plugin:
  • Perplexity model optimizes for the entire conversation, and answers user queries effectively using Perplexity datasets.
  • Perplexity plugin optimizes searching information during the conversation to get up-to-date responses. You can enable or disable it whenever you want or use it with other AI models such as GPT-4o, or Claude to enhance the AI responses.

Get a Perplexity AI account

Go to https://www.perplexity.ai/ and sign up for an account. Then go to https://www.perplexity.ai/settings/api to get your API key.
Image without caption
Note that you may need to top-up your credit to use the API.

Add a custom model in Typing Mind

Go to typingmind.com and create a new Custom Model as follow:
  • Click Add Custom Model
  • Enter any name you want, for example β€œPerplexity”
  • Enter the exact endpoint from the API document: https://api.perplexity.ai/chat/completions
  • Enter the Model ID and context length, for example:
  • Click β€œAdd Custom Headers” and add the following header:
Authorization: Bearer your_API_key
  • Click β€œTest” to verify the information is correct
  • Click Add Model.
Here is what it looks like:
Image without caption
πŸ’‘
Quick troubleshooting guide: ⚠️ If you see errors like β€œSorry, Custom Model has rejected your request”, click on the Model dropdown menu β†’ Model Settings β†’ Advanced Settings β†’ Then reset all parameters to default. ⚠️ If you see the errors like β€œβ€¦After the (optional) system message(s), user and assistant roles should be alternating”, please enable Support System Role for custom model settings.
Image without caption

Use Perplexity AI model

You can now select and use Perplexity model from the dropdown menu.
Image without caption