You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Getting back "sorry I could not find any relevant information on this topic" as the API response - but seeing the following failures in the server logs
perplexica-backend-1 | error: Error at generating documents from links: Invalid URL
perplexica-backend-1 | error: Error at generating documents from links: getaddrinfo ENOTFOUND not_needed
perplexica-backend-1 | error: Error at generating documents from links: getaddrinfo ENOTFOUND el-camino
perplexica-backend-1 | error: Error at generating documents from links: getaddrinfo ENOTFOUND el-camino
perplexica-backend-1 | error: Error at generating documents from links: getaddrinfo ENOTFOUND memorialcare
What's weird is el camino and memorialcare are the subjects of my queries
To Reproduce
I have a flask app that is trying to harvest these results from the API endpoint.
Here is how I have configure my headers and outreach:
url = "http://docker.mydomain.net:3001/api/search"
headers = {"Content-Type": "application/json", "Host": "docker.mydomain.net:3001"} # added host header
data = {
"focusMode": "webSearch",
"query": f"Please search for the linked in URL of the current {role} at {organization} - Please provide only the Linkedin address and no additional text."
}
What's really weird is when i run the same query via CURL it works just fine.... So it's likely something i am screwing up on the headers coming inbound - happy to troubleshoot - but would need to turn up the debugging to see what is happening - anybody able to provide advice on how to do that? Also happy to take feedback on any changes to the structure of my request.
Thanks,
-Dan
The text was updated successfully, but these errors were encountered:
I have specified these in the API call - is that something that needs to happen (API documentation labeled these as optional - also my CURL testing haven't and still work just fine.
I have specified these in the API call - is that something that needs to happen (API documentation labeled these as optional - also my CURL testing haven't and still work just fine.
Seems like its calling random links for summarization or question answering. Can you share the prompt so I can replicate the issue
Describe the bug
Getting back "sorry I could not find any relevant information on this topic" as the API response - but seeing the following failures in the server logs
What's weird is el camino and memorialcare are the subjects of my queries
To Reproduce
I have a flask app that is trying to harvest these results from the API endpoint.
Here is how I have configure my headers and outreach:
url = "http://docker.mydomain.net:3001/api/search"
headers = {"Content-Type": "application/json", "Host": "docker.mydomain.net:3001"} # added host header
data = {
"focusMode": "webSearch",
"query": f"Please search for the linked in URL of the current {role} at {organization} - Please provide only the Linkedin address and no additional text."
}
What's really weird is when i run the same query via CURL it works just fine.... So it's likely something i am screwing up on the headers coming inbound - happy to troubleshoot - but would need to turn up the debugging to see what is happening - anybody able to provide advice on how to do that? Also happy to take feedback on any changes to the structure of my request.
Thanks,
-Dan
The text was updated successfully, but these errors were encountered: