Perplexica

AI-powered search engine

★ 18.5k LLM AI Chatbot

Source code

Author: ItzCrazyKns · License: MIT

Version: 1.9.3 · Updated

About Perplexica

Perplexica is an open-source AI-powered searching tool or an AI-powered search engine that goes deep into the internet to find answers. Inspired by Perplexity AI, it's an open-source option that not just searches the web but understands your questions. It uses advanced machine learning algorithms like similarity searching and embeddings to refine results and provides clear answers with sources cited.

preview


Features

  • Local LLMs: You can make use local LLMs such as Llama3 and Mixtral using Ollama.
  • Two Main Modes:
    • Copilot Mode: (In development) Boosts search by generating different queries to find more relevant internet sources. Like normal search instead of just using the context by SearxNG, it visits the top matches and tries to find relevant sources to the user's query directly from the page.
    • Normal Mode: Processes your query and performs a web search.
  • Focus Modes: Special modes to better answer specific types of questions. Perplexica currently has 6 focus modes:
    • All Mode: Searches the entire web to find the best results.
    • Writing Assistant Mode: Helpful for writing tasks that does not require searching the web.
    • Academic Search Mode: Finds articles and papers, ideal for academic research.
    • YouTube Search Mode: Finds YouTube videos based on the search query.
    • Wolfram Alpha Search Mode: Answers queries that need calculations or data analysis using Wolfram Alpha.
    • Reddit Search Mode: Searches Reddit for discussions and opinions related to the query.
  • Current Information: Some search tools might give you outdated info because they use data from crawling bots and convert them into embeddings and store them in a index. Unlike them, Perplexica uses SearxNG, a metasearch engine to get the results and rerank and get the most relevant source out of it, ensuring you always get the latest information without the overhead of daily data updates.
  • API: Integrate Perplexica into your existing applications and make use of its capibilities.

Environment variables

View environment variables
PROJECT
  perplexica
DOMAIN
  stack.localhost
SEARXNG_API_URL
  http://perplexica-searxng:8080
SEARXNG_SECRET_KEY
  a8f5f167f44f4964e6c998dee827110c8a1f8f9d4e3b4c8d9a7e6f5b4c3d2a1b
NEXT_PUBLIC_WS_URL
  ws://$PROJECT.$DOMAIN
NEXT_PUBLIC_API_URL
  https://$PROJECT.$DOMAIN/api
SIMILARITY_MEASURE
  cosine
KEEP_ALIVE
  5m
OPENAI_API_KEY
 
GROK_API_KEY
 
ANTHROPIC_API_KEY
 
GEMINI_API_KEY
 
NEXT_TELEMETRY_DISABLED
  1
OLLAMA_HOST
  http://host.docker.internal:11434
OLLAMA_ORIGIN
  $OLLAMA_HOST

An alternative to

  1. Perplexity  Perplexity

Related

  1. Ollama  Open WebUI

    A user-friendly interface for AI chat

    ★ 54.7k llm ai rag chatbot
  2. 🤯  LobeChat

    Open-source, modern-design AI chat framework

    ★ 51.6k llm ai rag chatbot
  3. 🤖  AnythingLLM

    The all-in-one AI app you were looking for

    ★ 27.8k llm ai rag chatbot