Searchify is a production-grade AI-powered search engine that combines hybrid search (keyword + semantic) with RAG (Retrieval-Augmented Generation) and a unique Critical Insight layer to surface not just answers — but also their limitations.
-
🔎 Hybrid Search
- Combines BM25 (keyword search) + vector similarity
- Powered by Elasticsearch
-
🤖 RAG (AI Answers)
- Generates answers using retrieved context
- Grounded responses with source attribution
-
⚠ Critical Insight Layer (Unique)
- Highlights assumptions, limitations, or missing perspectives
- Improves trust and reasoning
-
🌐 Custom Web Crawler
- URL seeding, crawling, and indexing pipeline
- Content cleaning + intelligent chunking
-
⚡ Fast Retrieval Pipeline
- Redis caching
- Efficient chunk-based indexing
-
📊 Monitoring & Observability
- Prometheus for metrics collection
- Grafana dashboards for visualization
-
🎨 Minimal Frontend
- Google-like UX + AI answer layer
- Built with React + Tailwind CSS
Crawler → Indexer → Elasticsearch
↓
Hybrid Search
↓
Top Relevant Chunks
↓
RAG (LLM Answer)
+ Critical Insight
↓
Frontend UI
- Node.js + TypeScript
- Express.js
- BullMQ (workers)
- Redis
- Elasticsearch (hybrid retrieval)
- PostgreSQL (metadata)
- Embeddings (vector search)
- LLM (RAG answer generation)
- React (Vite)
- Tailwind CSS
- Prometheus
- Grafana
searchify/
├── src/ # Backend
├── client/ # Frontend
├── docker-compose.yml
├── prometheus.yml
└── README.md
git clone https://github.com/mayhemking007/searchify.git
cd searchifynpm installcd client
npm installdocker-compose up -dnpm run devcd client
npm run devGET /ask?q=your_query
Response:
{
"answer": "...",
"critique": "...",
"sources": [...]
}GET /metrics
- Prometheus →
http://localhost:9090 - Grafana →
http://localhost:3001
Track:
- API latency
- Search latency
- RAG latency
- Request rate
What is Kafka?
Output:
- AI-generated answer
- ⚠ Critical insight
- Source links
- Hybrid search (BM25 + vector)
- RAG system design
- Data quality impact on AI
- Observability with Prometheus & Grafana
- Distributed worker pipelines
Inspired by modern AI search systems like Perplexity — but with an added focus on critical thinking and epistemic awareness.