Logo Lanfrica

PatrickNgare/Tembo-ai

Domain:

natural language processingdigital infrastructure

Record type:

software
Creator:
Pat
Host:
Tembo AI Kenya Travel Assistant # 🐘 Tembo AI β€” Kenya Travel Assistant An AI-powered travel assistant for Kenya with a beautiful React frontend and a fully free tech stack. **πŸš€ Live Demo:** tembo-ai-frontend.onrender.… --- ## ✨ Features - 🦁 **Smart RAG Pipeline** β€” Retrieval-augmented generation for accurate Kenya travel info - πŸ’¬ **Conversational AI** β€” Personalized responses with Swahili flair - 🎨 **Beautiful UI** β€” Modern React + Tailwind CSS frontend with animations - ⚑ **Real-time Typing Effect** β€” Character-by-character response display - 🏷️ **Category Filters** β€” Filter by Safari, Beaches, Culture, Transport - πŸ“Š **Source Attribution** β€” See which documents informed each answer - πŸ†“ **100% Free Stack** β€” Cohere embeddings + Groq LLM + Supabase --- ## πŸ› οΈ Tech Stack | Component | Technology | |-----------|------------| | **Frontend** | React + Tailwind CSS | | **Backend** | FastAPI (Python) | | **Embeddings** | Cohere `embed-english-light-v3.0` (free tier) | | **LLM** | Groq `llama-3.3-70b-versatile` (free tier) | | **Vector DB** | PostgreSQL + pgvector (Supabase) | | **Hosting** | Render (free tier) | --- ## πŸš€ Quick Start ### Backend ```bash # Clone the repo git clone github.com cd tembo-ai # Create virtual environment python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate # Install dependencies pip install -r requirements.txt # Set up PostgreSQL with pgvector psql -U postgres -f setup_vector.py # Run SQL commands to create tables # Set up environment variables cp .env.example .env # Edit .env and add your API keys # Populate the knowledge base python massive_kenya_data.py # Or: python scrape_kenya_data.py # Run the server uvicorn main:app --reload ``` ### Frontend ```bash cd frontend npm install npm run dev ``` - **Backend API**: `localhost` - **Frontend UI**: `localhost` - **API Docs**: `localhost` --- ## πŸ“ Project Structure ``` tembo-ai/ β”œβ”€β”€ main.py …