perplexity-clone / README.md
Naveen-2007's picture
Fix Video Brain URL handling, add API health check, improve error diagnostics
6ceb8b5
metadata
title: Perplexity AI Clone
emoji: πŸ”
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
license: mit

Perplexity AI Clone

An AI-powered search and research assistant with multiple modes:

  • Automatic: Auto-routes to best mode based on query
  • Web Search: Real-time web search with citations
  • RAG: Search uploaded documents
  • Deep Research: Multi-step research with synthesis
  • Agentic: Multi-agent RAG with planning
  • Analysis: Data analysis and insights
  • Summarize: Summarize content and documents
  • Product MVP: Generate MVP blueprints from ideas
  • Video Brain: Analyze YouTube videos

Features

  • πŸ” Real-time web search with Tavily (with AI answers)
  • πŸ“š Document upload and RAG
  • πŸ€– LangGraph-powered pipelines
  • πŸ’‘ Follow-up question suggestions
  • πŸ–ΌοΈ Image search integration
  • πŸ“Š Knowledge panels
  • πŸŽ₯ YouTube video analysis

Environment Variables (Required!)

⚠️ IMPORTANT: Set these secrets in your Hugging Face Space settings:

  1. Go to your Space Settings β†’ Variables and secrets
  2. Add these as Secrets (not Repository secrets):

Without these keys, web search and LLM responses will not work!

Tech Stack

  • FastAPI backend
  • Streamlit frontend
  • LangChain + LangGraph
  • Groq LLM (compound-beta)
  • FAISS vector store
  • Sentence Transformers embeddings