Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.04 KB

Readme.md

File metadata and controls

46 lines (31 loc) · 1.04 KB

🧠 RAG-CLI

Chat with an AI about any webpage — from your terminal.

cli-rag


✨ What it does

  • Scrapes article content from a URL (goose3)
  • Chunks and embeds the text (mistral-embed)
  • Stores it in a FAISS vector index
  • Lets you ask context-aware questions via Mistral's chat API
  • Runs fully in your CLI, styled with rich

🚀 Quickstart

git clone https://github.com/theakash04/rag-cli.git
cd rag-cli

# Install dependencies
pip install -r requirements.txt

# Set your API key
export MISTRAL_API=your-api-key

# Run it
python main.py

⚙️ Stack

Tech Purpose
goose3 Article scraping
mistralai Embeddings + LLM chat
faiss Fast vector similarity search
rich CLI styling & progress spinners
dotenv API key management