Skip to content

RAG implementation with mistral on cli interface

Notifications You must be signed in to change notification settings

theakash04/rag-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 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

About

RAG implementation with mistral on cli interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages