ItzCrazyKns / Perplexica

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

[need help] after setting up docker, it seems that Perplexica isn't searching the web #321

Closed SunLemuria closed 2 months ago

SunLemuria commented 2 months ago

what I've done

  1. clone the repo
  2. docker compose up -d
  3. set up custom_openai: model/key/base url

things I don't understand

  1. no matter which mode I select, it didn't give any sources

    image
  2. "Search images""Search videos" buttons raise an Application error:

    image
  3. a 404 error has popped up on "discover" page

    image
  4. in searxng page, pops up a warning

    image

but SearXNG did work well:

image
ItzCrazyKns commented 2 months ago

The discover page is under development, can you share the logs from the backend container so I can take a closer look.

SunLemuria commented 2 months ago

The discover page is under development, can you share the logs from the backend container so I can take a closer look.

thanks for replying, it seems no errors are in loggers, and no logger message when I operates on the ui

image
ItzCrazyKns commented 2 months ago

Can you try searching something different and phrase your query like a question. Like: "What is Elon Musk's net worth" and see if it is able to access the web

SunLemuria commented 2 months ago

"What is Elon Musk's net worth"

this one will search the web, so I wonder how Perplexica determines to search or not, can I force it to search? and what is the right way to search images and videos?

SunLemuria commented 2 months ago

force it to search

there is a "Writing: chat without searching the web" option, so the others should search by default?

image
ItzCrazyKns commented 2 months ago

No, the query first goes to an LLM that processes it based on the chat history and the follow up question and detects whether there is a need to search the web or the query is a writing task. If there is not, it will not search the web and write up the answer. But in some cases the first chain predicts not to search while the answer generation chain thinks it as a search task and hallucinates.