Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Perplexity API (sonar) gives worse results compared to Web-UI when using Web Search #171

Answered by james-pplx
gregorarb asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! I am sorry to hear that you are experiencing issues with this. While it is not expected that you get worse answers using the API, it is definitely expected that you get different ones, as the search process differs slightly from one process to another.

A first element for example is the fact that the API call requires users in a system prompt while we craft the one relevant to the Web-UI. Users are also expected to tweak the hyperparameters for best results. We'll be releasing guides and best practices shortly to help assist with this, but in the meantime please feel free to reach out with additional questions!

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@edwardgonen
Comment options

Answer selected by james-pplx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants