This repository was archived by the owner on Jul 22, 2025. It is now read-only.
Replies: 1 comment 1 reply
-
Hey @tonyausi ! All of our models rely on real-time internet search, meaning that while you can add Files (for results from your uploaded files), links (for results from your uploaded links) and Web + Files + Links (to get comprehensive results from both the web, and your files, and suggested links), we don't currently offer the option to exclude the Web from the search. We will keep you posted however if anything changes in this regard! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to design a python app to only query the data stored in perplexity Spaces only. Searching information from Internet is not allowed.
I have tried using API endpoint 'https://api.perplexity.ai/chat/completions' and the following payload
payload = {
"model": model,
"messages": [
{
"role": "system",
"content": SYSTEM_CONTENT
},
{
"role": "user",
"content": user_query
}
],
"max_tokens": 1024,
"temperature": 0.1,
"top_p": 0.9,
"search_domain_filter": None,
"return_images": False,
"return_related_questions": False,
"search_recency_filter": "year",
"top_k": 0,
"stream": False,
"presence_penalty": 0,
"frequency_penalty": 1,
"response_format": None
}
Regarding model, I have tried model with and without reasoning. But all responses show that perplexity always searched Internet for results.
Is there a new API or parameter which can be used to query the perplexity Space only?
PS: Chatgpt said:
The detailed endpoint names and parameter specifications might only be available in Perplexity’s developer documentation or through their support channels, as this feature can be in beta or limited to certain users.
Beta Was this translation helpful? Give feedback.
All reactions