Connect Helicone with Perplexity AI, a platform that provides powerful language models including Sonar and Sonar Pro for various AI applications.
Create a Perplexity AI account
Set HELICONE_API_KEY and PERPLEXITY_API_KEY as environment variable
Modify the base URL and add Auth headers
https://api.perplexity.ai/chat/completions
-> https://perplexity.helicone.ai/chat/completions
and then add the following authentication headers: