Ask a question. Receive guidance from the Bhagavad Gita.
GitaChat uses semantic search to find the most relevant verse from the Bhagavad Gita's 700 verses based on your question.
Frontend
- Next.js + TypeScript
- Tailwind CSS
- TanStack Query
- Clerk (auth)
- Supabase (query history)
- Hosted on Vercel
Backend
- Python + FastAPI
- Sentence Transformers (BGE embeddings)
- Pinecone (vector DB)
- Hosted on Railway
- Your question gets converted into a vector embedding
- We search Pinecone for the most similar verse
- Return the verse with additional commentary that best suits your query
Frontend
cd frontend
bun install
bun run devBackend
cd backend
pip install -r requirements.txt
uvicorn main:app --reloadFrontend (frontend/.env.local)
BACKEND_URL=http://localhost:8000
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY=
Backend (backend/.env)
PINECONE_API_KEY=
PINECONE_INDEX=
GPT_KEY=