Open source and AI-powered web search engine: local, private, dockerized and supported by a fluffy llamaš¦
PrAIvateSearch is a Gradio application that aims to implement similar features to SearchGPT, but in an open-source, local and private way.
Flowchart for PrAIvateSearch
The process of creating and the functioning of PrAIvateSearch is explained in this blog post on HuggingFace.
git clone https://github.com/AstraBert/PrAIvateSearch.git
cd PrAIvateSearch
.env.example
to .env
ā¦mv .env.example .env
ā¦and specify PostgreSQL related variables:
# .env file
PG_DB="postgres"
PG_USER="pgql_usr"
PG_PASSWORD="pgql_psw"
python3 -m venv /path/to/SearchPhi
source /path/to/SearchPhi/bin/activate
python3 -m pip install -r requirements.txt
c:\path\to\SearchPhi\Scripts\Activate.ps1 # For PowerShell
source c:\path\to\SearchPhi\Scripts\activate # For Git
python3 -m pip install -r requirements.txt
4. Start third-party services:
```bash
docker compose up -d
python3 scripts/app.py
Once the models will be downloaded and loaded on your hardware, youāll see the application on http://localhost:7860
.
PROs: You can customize the application code (change the model, change CPU/GPU settings, change generation kwargs, modify the app interfaceā¦)
CONs: Longer and more complex installation process
ā ļø The Gradio application was successfully developed and tested on a Windows 10.0.22631 machine, with 32GB RAM, 16 core CPU and Nvidia GEFORCE RTX4050 GPU (6GB, cuda version 12.3), python version 3.11.9
Although being at a good stage of development, the application is a beta
and might still contain bugs and have OS/hardware/python version incompatibilities.
Hereās a video demo of what it can do:
Contributions are more than welcome! See contribution guidelines for more information :)
If you found this project useful, please consider to fund it and make it grow: letās support open-source together!š
This project is provided under MIT license: it will always be open-source and free to use.
If you use this project, please cite the author: Astra Clelia Bertelli