ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
13.32k stars 1.25k forks source link

Deploy well, can use searXNG search, but cannot use perplexica search #316

Open TOM-ZHOUch opened 1 month ago

TOM-ZHOUch commented 1 month ago

Describe the bug I have used docker to deploy the perplexica and the page as this: image I wait for arount 25min, it still no response.

To Reproduce I follow the instruction of deployment by docker

I check the frontend, backend logs are as follows: image image it seems frontend is well, but the backend have some problems, but I don't know how to solve it.

I would be appreciate if someone could help me to see what's wrong with my deployment

TOM-ZHOUch commented 1 month ago

Previous error eccured during the test from our linux I also deployed it on the my local windows, it also have some faults: image I can see the error quite same with the linux, so what should I do to cope with this issue:

error: Unhandled Rejection at: [object Promise], reason: TypeError: Cannot read properties of undefined (reading 'indexOf')

ops-xin commented 1 month ago

I have also encountered the same problem before. Due to Linux network issues, I placed SearXNG and backend services on my local Mac to enable the search function

TOM-ZHOUch commented 1 month ago

I have also encountered the same problem before. Due to Linux network issues, I placed SearXNG and backend services on my local Mac to enable the search function

@ops-xin Thanks for your help! But I am not sure how to place SearXNG and backend services on local, could you please give some more details

ops-xin commented 1 month ago
image

By changing these three parameters, you should be able to specify the local service

TOM-ZHOUch commented 4 weeks ago

I have solved the issue,. Probably when we want to use openai-key. Make sure u use the correct open-ai baseURL(Openai-format). eg: if we want to use a baseurl transfer to openai, the format like: https://xxx.xxx.xxx/v1 add /v1 in the end

PKUcoldkeyboard commented 1 week ago

I have solved the issue,. Probably when we want to use openai-key. Make sure u use the correct open-ai baseURL(Openai-format). eg: if we want to use a baseurl transfer to openai, the format like: https://xxx.xxx.xxx/v1 add /v1 in the end

Thank you very much, I had this problem too, added /v1 and it was fine :)