Perplexica: How to Install this Free AI Search Engine, Locally?
Summary
TLDRThe video introduces 'perplexa', an open-source AI-powered search engine that can run locally on your computer, offering an alternative to online search engines like 'perplexity'. It demonstrates how to set up 'perplexa' using Docker or npm for a private search experience, highlighting its capabilities in various modes like academic research and YouTube search. The tutorial guides viewers through installation, configuration with API keys, and testing with different models like OpenAI and GPT, emphasizing data privacy and customization.
Takeaways
- 😲 Perplexa is a free, open-source AI search engine that can run locally on your computer.
- 🔍 It serves as an alternative to Perplexity, a search engine powered by AI.
- 🌐 Users can utilize local models such as GPT, Olama, or Open AI for their search needs.
- 💻 The demonstration shows Perplexa running on Local Host 3000 with various search options.
- 🔑 The script provides a step-by-step guide on how to install and set up Perplexa using Docker or npm.
- 🔄 Docker is presented as the easiest option for running Perplexa, requiring the download of Docker on the computer.
- 📝 The video script includes instructions for cloning the repository, editing configuration files, and setting API keys.
- 🔍 Perplexa offers different modes, including co-pilot mode (in development) and normal mode with focus on writing, academic research, and searching platforms like YouTube and Reddit.
- 📈 It demonstrates the capability to search for the latest AI news, images, and videos, similar to Perplexity.
- 📚 The script also shows how to use Perplexa for academic research, providing summaries of relevant papers.
- 🎥 The presenter mentions that they regularly create videos on Artificial Intelligence and encourages viewers to subscribe to their YouTube channel for updates.
- 🛠️ For non-developers, the script suggests using Docker for installation due to its simplicity, while developers may opt for npm and node package manager.
Q & A
What is Perplexa and how does it relate to Perplexity?
-Perplexa is a free, open-source AI search engine that serves as an alternative to Perplexity, which is also an AI-powered search engine. Perplexa allows users to run their own search engine locally on their computer, utilizing AI models like GPT, Olama, or OpenAI.
How can one access and use Perplexa?
-Perplexa can be accessed by running it locally on a computer. Users can visit 'Local Host 3000' to use it, and it offers various search options similar to those available on Perplexity, such as searching for academic research, YouTube, and Reddit content.
What are the main modes in Perplexa?
-Perplexa has two main modes: 'co-pilot mode', which is still in development, and 'normal mode', which is the primary mode of operation. Within normal mode, there are focus modes for different tasks such as writing articles, academic research, and searching YouTube and Reddit.
How can one install and set up Perplexa for use with local AI models?
-Installation can be done using Docker for an easier setup or without Docker using npm (node package manager). The script provides step-by-step instructions for both methods, including cloning the repository, editing configuration files, and running the application locally.
What is Docker and how is it used in setting up Perplexa?
-Docker is a platform that allows users to develop, ship, and run applications in containers. In the context of Perplexa, Docker is used to easily set up the application by downloading the required container images and running them.
What is the purpose of the 'config.toml' file in Perplexa?
-The 'config.toml' file is used to configure the settings for Perplexa, including the API keys for OpenAI, GPT, and Olama, as well as other settings such as the host address for the local model.
How does Perplexa handle searching for images and videos?
-Perplexa provides the capability to search for images and videos, similar to its functionality for text searches. It processes the user's query and retrieves relevant media content from the web.
What is the co-pilot feature in Perplexa and what is its current status?
-The co-pilot feature in Perplexa is a development in progress that aims to enhance the user experience. As of the script, it is still being built and may not be fully functional yet.
How can one switch between different AI models in Perplexa?
-Users can switch between different AI models in Perplexa by accessing the settings and selecting the desired model provider, such as OpenAI or GPT. They can also choose a local model if they have one installed.
What is the significance of the 'searchxng' in Perplexa?
-Searchxng is the main search engine that powers Perplexa. It is essential for the functioning of the application, allowing it to perform searches and retrieve information from various sources.
How can a non-developer install Perplexa without Docker?
-A non-developer can install Perplexa without Docker by downloading Node.js, navigating to the UI folder in the Perplexa repository, and following the steps to install npm packages, build the project, and start both the front-end and back-end services.
Outlines
🤖 Introduction to Perplexa: Local AI Search Engine
The video introduces Perplexa, a local AI search engine that serves as an alternative to the perplexity search engine. It highlights the ability to run a personalized search engine on one's computer using models like Gro, Llama, or Open AI. The script demonstrates how Perplexa can be used for various purposes, including academic research, YouTube, and Reddit searches, and how it can search for images and videos. The host also encourages viewers to subscribe to their AI-focused YouTube channel for more content.
🛠️ Setting Up Perplexa with Docker and API Keys
The script details the step-by-step process of setting up Perplexa using Docker, which simplifies the installation by downloading the necessary container images and running them automatically. It explains how to clone the Perplexa repository, navigate to the folder, and edit configuration files to include API keys for Open AI and Gro. The video also covers how to run Perplexa without Docker using npm and node package manager, including installing dependencies, building the project, and starting both the front-end and back-end services.
🔍 Exploring Perplexa's Features and Customization Options
This part of the script showcases the various features of Perplexa, such as searching for the latest AI news, academic papers, and YouTube videos. It explains how the search engine can provide summaries and detailed answers based on the content it finds. The video also discusses the co-pilot feature, which is still under development, and the option to use custom Open AI models with fake API keys for testing. The script emphasizes the importance of privacy when using local software and the ability to run Perplexa completely locally.
Mindmap
Keywords
💡AI Search Engine
💡Perplexity
💡Local Host
💡Gro
💡Olama
💡Open AI
💡Docker
💡npm (Node Package Manager)
💡Co-Pilot Mode
💡Focus Modes
💡Search xng
Highlights
Introduction to Perplexa, a free AI search engine alternative to Perplexity.
Ability to run a local search engine using AI models like Gro, Olama, or Open AI.
Demonstration of Perplexa running on Local Host 3000 with multiple search options.
Explanation of how Perplexa can search for the latest AI news, images, and videos.
Perplexa is an open-source AI-powered search engine with local model utilization.
Description of the two main modes in Perplexa: Co-pilot (in development) and Normal mode.
Instructions on how to install and set up Open AI, Olama, and Gro for Perplexa.
Invitation to subscribe to the YouTube channel for more AI-related content.
Step-by-step guide on running Perplexa with Docker for ease of use.
How to clone the Perplexa repository and navigate to the folder for setup.
Editing the config file to include API keys for Open AI, Gro, and Olama.
Using Docker commands to set up and run Perplexa with the required container images.
Testing Perplexa by searching for the latest AI news and changing settings for different models.
Demonstration of searching for academic papers and summarizing information based on research.
Exploring the YouTube search feature and its ability to provide relevant video information.
Introduction to the custom Open AI settings for local testing and data privacy.
Instructions on installing Perplexa without Docker using npm and node package manager.
Details on setting up the environment variables and starting the Perplexa backend.
The necessity of installing SearchXNG as a third step for Perplexa functionality.
Final thoughts on the excitement surrounding Perplexa and plans for future video content.
Transcripts
this is amazing now we're going to see
about perplex it's a free AI search
engine it's an alternative to perplexity
so if you don't know about perplexity
it's a search engine using the power of
AI but what if you can have your own
search engine running locally on your
computer you can power the local
perplexity that is perplex using Gro
olama or open AI models as you can see
here it's running in Local Host 3000 and
you have multiple options same like you
got for perplexity for academic research
writing YouTube and Reddit for example
if I search give me the latest AI news
then it's going to work same like
perplexity going through various links
as you can see here and then it's
providing me the latest AI news here you
can search for images and also you can
search for videos that's exactly what
we're going to see today let's get
started
hi everyone I'm really excited to show
you about perplexa it's a AI power
search engine which is completely open
source you are able to use local models
you have two main modes co-pilot mode is
in development and mainly we'll be
focusing on normal mode you have Focus
modes to write article academic research
YouTube search wol from reddits in this
I'm going to take you through step by
step how you can install how you can set
up open AI olama Gro and finally run
that locally on your computer but before
that I regularly create videos in
regards to Artificial Intelligence on my
YouTube channel so do subscribe and
click the Bell icon to stay tuned make
sure you click the like button so this
video can be helpful for many others
like here first we are going to see how
you can run this with using Docker that
is the more easiest option which means
you need to download Docker on your
computer second we'll be seeing how you
can install without Docker that is using
npm node package manager so first step
get clone and this URL and then click
enter I'll provide all the information
in the description below so after
cloning navigate to that folder CD
perplex and then click enter now I'm
opening this in a code Editor to edit
few files so after opening in the vs
code editor you'll have a sample config
TL so this is how it looks like so just
make a copy of this or just rename this
right click you can rename and remove
the sample just keep only the config and
then click enter and now you have one
config tol file just open it you can
keep all the things default the main
thing to focus on is API keys so if
you're planning to use open AI just
enter your open a API key if you're
planning to use grock use grock API key
and if you're planning to use olama and
if you already installed o on your
computer just change this to Local Host
for Mac if you're running AMA using
Docker then you might need to modify
this like this host Docker internal
11434 but in my case I'm running on my
Mac so I'm going to use Local Host
11434 and I've already downloaded olama
from ama.com and ran AMA P llama 3 to
download the Llama 3 Model as you can
see here but here I'm going to show you
mainly open AI Gro so after entering the
relevant API keys for grock and open AI
just save the file now inside the same
folder type darker compost up Hy D and
then click enter now this will
automatically download the required
container image and it will
automatically start running
now you can just type Docker PS and then
you can see the perplex front end
perplex back end and it's using search
xng that is mainly used for searching so
our main focus is on the front end
that's the user interface so it's 0000
3000 that is low close 3000 so here I in
low close 3,000 now we are ready to test
this out here you can click the settings
here as you can see here I'm using open
a model first gp4 Omni choosing the
embedding model open AI text embedding
and here you'll get the API key and then
click save now I'm going to type give me
latest AI news and then click enter and
you can see it automatically went
through these links and got me this
latest AI news you can change the
settings to Gro by clicking the settings
and here chat model provider Gro chat
model Lama 370 billion parameter model
then we are using embedding model from
open AI but you can even set up your
local embedding model by clicking local
and choosing it here but for now I'm
going to stick with open AI so let's
test the Llama 370 billion parameter
model using Gro let's say latest news
about Gro and then click enter you can
see it go through the latest news
articles then based on that it's writing
me this response now let's try different
options such as academic so this will
bring you academic papers and it's used
for our research so let's say use of llm
in healthcare and click enter and you
can see the research are from archive
papers and it went through all these
papers and based on that it's giving me
a summary with all the relevant
information one of the primary
application of llms in healthcare is in
clinical language understanding toss
llms can be fine-tuned to meet the
unique needs of the healthcare domain
and it's giving me more relevant and
useful information based on the research
article now I can even ask followup
questions and it's giving me some
suggestion how can LMS be fine-tuned to
meet the unique needs of the healthcare
domain just clicking on that again it
went through all these articles and it
gave me this detailed answer so you can
keep on asking questions next let's see
YouTube I'm going to ask question just
typing praise and Ai and then click
enter and it's going through all my
YouTube videos in regards to praise and
Ai and it's giving me more relevant
information with all the references and
you can see the number of YouTube videos
it went through one thing to note is
that the co-pilot feature is still being
built so it might not work for now but I
hope this will be improved very soon in
the settings there is another option
custom open AI here you can provide the
model name API key that could be any
fake API key or just for test and then
here you can provide the base URL so
here I provide oama base URL but you can
change this to anything such as LM
Studio Jan AI text generation we Bui so
provide this here and then you can run
this completely locally on your computer
and all your data remains private if
you're going to use any local softwares
and choose the embedding model provider
to local that will be super exciting
next I'm going to show you how you can
install this using node package manager
but without Docker containers so make
sure youve downloaded nodejs from
nodejs.org next when you come to the vs
code editor perlex there's a folder
called UI just go on to that and then
you got env. example so we are going to
rename that ASV just rename EnV and then
click enter so this is the content for
the file keep your previous config tol
file as it is because that's where the
settings for the open AI Gro API key and
ol is coming from now in the terminal
you can navigate to the UI folder so CD
UI and then click enter now npmi and
then click click enter to install all
the npm packages now you can here you
can see the packages got installed now
npm run build and then click enter now
it's building all the required packages
with the environment variables as you
can see here and it's all ready now now
finally npm Run start and then click
enter now you can see it's running in
port number 3,000 as before now one more
step you need to do is to start the back
end so currently the UI that is the
front end is running just going to open
a new terminal and it's in the perplex
folder so there I'm going to type npmi
to install all the backend packages now
all the packages got installed now npm
run build to build same as before now
npm Run start and then click enter now
we have both back end running and also
if you see here the front end is also
running now I'm going to open this URL
and you can see the user interface here
same as before I can change settings
here and ask questions one more thing to
note is that we have search xng that is
the main search engine which Powers
perplex so you might need to install
this as a third step apart from running
the front end and the back end to make
it work this might be complicated for
non-developers so it's better to use a
Docker version if you are a
non-developer and you got all the
installation steps in this document file
as you can see here I'm really excited
about this I'm going to create more
videos similar to this so stay tuned I
hope you like this video do like share
and subscribe and thanks for watching
関連動画をさらに表示
Perplexity AI Tutorial - How To use Perplexity Ai for Research | Better than ChatGPT!
How Perplexity works | Aravind Srinivas and Lex Fridman
La fin de Google ?
Steal These 5 AI Tools That Will Supercharge Thesis Writing
AutoGen Quickstart 🤖 Build POWERFUL AI Applications in MINUTES
Maximize Teaching with Perplexity AI [ How to Use Perplexity for Teachers ]
5.0 / 5 (0 votes)