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

Why don't I receive the same level of response using the API as I do using the official UI search? #37

Answered by caos30
caos30 asked this question in Q&A
Discussion options

You must be logged in to vote

After writing my initial post, I revisited the API reference regarding this matter and discovered some mistakes I was making. Upon fixing these issues, the results began to more closely resemble those offered by the web UI:

Changing the following parameter from 0.5 to 0.9 made the answer seem "a bit more diverse" (it became more proactive in adding things not directly requested, which is fine for me):

top_p: 0.9

However, the real magic happened when I omitted these two parameters I had been sending:

search_domain_filter: array("perplexity.ai")
search_recency_filter: "month"

I first removed the search_domain_filter, but the resulting answer to my query barely changed. Then, when I omitte…

Replies: 9 comments 9 replies

Comment options

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

Answer selected by caos30
Comment options

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

Comment options

You must be logged in to vote
3 replies
@caos30
Comment options

@sandeshwar
Comment options

@shubhang98
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@shubhang98
Comment options

@caos30
Comment options

Comment options

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

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet