Perplexica 是開源的 AI 驅動搜尋工具或 AI 搜尋引擎,能夠深入互聯網尋找答案。受 Perplexity AI 啟發,它是一個開源選項,不僅搜尋網路,還能理解您的問題。該項目使用先進的機器學習演算法,如相似性搜尋和嵌入技術來優化結果,並提供帶有引用來源的清晰答案。
使用 SearxNG 元搜尋引擎獲取結果,確保始終獲得最新信息,避免過時數據問題。
提供完整的 API 接口,方便集成到現有應用程序中。
git clone https://github.com/ItzCrazyKns/Perplexica.git
cp sample.config.toml config.toml
docker compose up -d
http://localhost:3000
config.toml
npm i
npm run build
npm run start
根據操作系統設置正確的 API URL:
http://host.docker.internal:11434
http://<private_ip_of_host>:11434
在 /etc/systemd/system/ollama.service
中添加:
Environment="OLLAMA_HOST=0.0.0.0"
然後重啟服務:
systemctl restart ollama
可以將 Perplexica 設置為瀏覽器默認搜尋引擎:
http://localhost:3000/?q=%s
Perplexica 提供完整的 API 接口,支持:
詳細文檔參見:API 文檔
Perplexica 是一個功能強大的開源 AI 搜尋引擎,提供了豐富的搜尋模式和強大的 AI 能力。它不僅是 Perplexity AI 的優秀替代方案,更是注重隱私保護和本地部署的理想選擇。無論是個人使用還是企業集成,Perplexica 都能提供出色的搜尋體驗。