Launched in 2022, Perplexity AI revolutionizes the search experience by offering conversational interactions, thanks to its use of natural language processing. This isn't your typical search engine spitting out links; instead, it delivers direct, succinct answers using language models similar to those developed by OpenAI.
For those looking to integrate HARPA AI with Perplexity.AI, there are two straightforward pathways: an OpenRouter connection or a simple REQUEST step. This guide dives into both methods, but before we get into the nuts and bolts, let's take a moment to set side by side the search capabilities of Perplexity AI with the built-in Search Agent Command, highlighting the nuanced differences and advantages.
For a fair comparison, we chose the GPT-3.5 connection in HARPA AI, which significantly lags behind the GPT-4 in search performance. The connection to Perplexity was made through OpenRouter, with the most advanced model selected - Perplexity: PPLX 70B Online.
The Quick Search option in the Search Agent was used:
Simultaneously, the same question was asked on the Perplexity web version. The quality of the answer is quite superficial and significantly inferior to the advanced, paid version of Perplexity: PPLX 70B Online.
Let's take a clarifying question from here and ask it.
Both options performed equally well, except that the HARPA AI Search Agent provided a link to download the Tor Browser:
It's worth noting that the Perplexity web version also helped the user find this link, whereas the API version is limited to text responses only.
This comparison will be an excellent marker for understanding the principles of operation of two different search agents, which were asked one question: What annual percentage yield is considered an average benchmark for a good real estate investment in 2023?
The DEEP RESEARCH option was used in the /Search Agent command, corresponding to the complexity of the query in connection with GPT-3.5.
As we see, the question does not mention the country or region where we want to make a real estate investment, however, Perplexity made an incorrect assumption and provided us with answers about the current situation in the US and the differences between states, which we did not ask about. The question was asked from Finland, where our company is located.
Moreover, the user was not provided with links for in-depth study of the question. Presumably, this problem with Perplexity AI is due to the mixing of local SERP results into the analysis result, and local SERP results are taken either from the region where the Perplexity server is located or from a fixed country. We cannot suggest any other explanation for this fact.
The HARPA AI Search Agent, conducting this search automatically divides one question into sub-questions, obtaining SERP information not only from your query but also from two additional sub-queries:
Because of this, the search result is more relevant to the given question.
The Perplexity AI web version made the same mistake, spoiling the result of the issue, making it irrelevant to the search query.
Let's use a clarifying question from here and ask it for comparison.
Both search agents handled this question equally well. It is worth noting that the question is basic, does not require additional knowledge and web search.
The web version of Perplexity also performed well:
Our comparison experiments show that even with the condition of a free connection with GPT-3.5, HARPA AI's responses to complex questions are more relevant and allow the user to get a comprehensive answer to the first request and all subsequent follow-ups. The identified problem with Perplexity AI is that this search system exclusively uses Google SERP results in the US region as its basis for providing data, which can be irrelevant to the user's query.
If you're still interested in connecting with Perplexity, we'll describe it in the following chapters.
- label: ๐ sonar-medium-online (8x7B | 12k)
value: sonar-medium-online
- label: ๐ sonar-small-online (7B | 12k)
value: sonar-small-online
- label: ๐ gemma -7b-it
value: gemma-7b-it
- label: ๐ gemma-2b-it
value: gemma-2b-it
- label: ๐ช๏ธ mixtral-8x7b-instruct
value: mixtral-8x7b-instruct
- label: ๐ก mistral-7b-instruct
value: mistral-7b-instruct
- $custom
Extract the content/answer provided by the assistant from the following JSON response:
"""
{{pplxResponse}}
"""
\\ * Provide only the extracted text and nothing else.
---
CONTENT/ANSWER:
All rights reserved ยฉ HARPA AI TECHNOLOGIES LLC, 2021 โ 2024
Designed and engineered in Finland ๐ซ๐ฎ