{"adoption": {"forks": 193, "observed_at": "2026-08-28T04:05:10.549286+00:00", "stars": 1607}, "canonical_url": "https://ross.abutalabs.com/products/pguso-rag-from-scratch", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Demystify RAG by building it from scratch. Local LLMs, no black boxes - real understanding of embeddings, vector search, retrieval, and context-augmented generation.", "domain": ["large-language-models", "artificial-intelligence", "tutorials", "education"], "enriched": true, "function": ["rag", "llm-inference", "machine-learning", "nlp", "search-engine", "developer-tools"], "health_score": 63, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["pguso/rag-from-scratch"], "name": "pguso/rag-from-scratch", "platform": ["cross-platform"], "pushed_at": "2026-03-11T11:44:33+00:00", "repo": "pguso/rag-from-scratch", "stars": 1607, "tags": ["rag-from-scratch", "local-llm", "embeddings", "vector-search", "node-llama-cpp", "educational-project", "hands-on-tutorial", "no-cloud-apis", "retrieval-augmented-generation", "natural-language-processing", "nodejs", "javascript"], "topics": ["agents", "ai-agents", "educational", "llm", "node-llama-cpp", "nodejs", "rag", "rag-chatbot", "rag-pipeline", "tutorial"], "urls": [], "use_cases": ["learn how RAG works by building it from scratch", "understand how embeddings and vector search work", "build a local RAG chatbot without cloud APIs", "implement a RAG pipeline in Node.js", "learn query rewriting and re-ranking for retrieval", "run LLM-powered retrieval locally with node-llama-cpp", "study a minimal end-to-end RAG example"], "what_it_is": "An educational repository that teaches Retrieval-Augmented Generation (RAG) by building it step by step from scratch in JavaScript, using local LLMs via node-llama-cpp with no cloud APIs. It covers the full RAG pipeline including embeddings, vector stores, retrieval, re-ranking, and query rewriting with explained code walkthroughs.", "when_to_avoid": ["you need a production-ready RAG framework or library", "you want managed cloud vector databases or hosted LLM APIs", "you work primarily in Python with LangChain/LlamaIndex ecosystems", "you need scalable, optimized retrieval for large document collections"], "when_to_choose": ["you want to deeply understand RAG internals rather than use a framework", "you prefer local LLMs and no external API dependencies", "you are a JavaScript/Node.js developer learning AI concepts", "you want progressive, well-explained tutorial examples"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pguso-rag-from-scratch", "repo": "pguso/rag-from-scratch", "role": "main", "score": 49}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:51:48.488095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0d560501b5dd53d4dbf84ab357eea579c3317aef8368a1274776c49f0f5b90d", "fetched_at": "2026-08-28T04:05:10.549286+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pguso/rag-from-scratch"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:51:48.488095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0d560501b5dd53d4dbf84ab357eea579c3317aef8368a1274776c49f0f5b90d", "fetched_at": "2026-08-28T04:05:10.549286+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pguso/rag-from-scratch"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:51:48.488095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0d560501b5dd53d4dbf84ab357eea579c3317aef8368a1274776c49f0f5b90d", "fetched_at": "2026-08-28T04:05:10.549286+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pguso/rag-from-scratch"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:51:48.488095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0d560501b5dd53d4dbf84ab357eea579c3317aef8368a1274776c49f0f5b90d", "fetched_at": "2026-08-28T04:05:10.549286+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pguso/rag-from-scratch"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:51:48.488095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0d560501b5dd53d4dbf84ab357eea579c3317aef8368a1274776c49f0f5b90d", "fetched_at": "2026-08-28T04:05:10.549286+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pguso/rag-from-scratch"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:51:48.488095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0d560501b5dd53d4dbf84ab357eea579c3317aef8368a1274776c49f0f5b90d", "fetched_at": "2026-08-28T04:05:10.549286+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pguso/rag-from-scratch"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:10.549286+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:51:48.488095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0d560501b5dd53d4dbf84ab357eea579c3317aef8368a1274776c49f0f5b90d", "fetched_at": "2026-08-28T04:05:10.549286+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pguso/rag-from-scratch"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:51:48.488095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0d560501b5dd53d4dbf84ab357eea579c3317aef8368a1274776c49f0f5b90d", "fetched_at": "2026-08-28T04:05:10.549286+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pguso/rag-from-scratch"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:51:48.488095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0d560501b5dd53d4dbf84ab357eea579c3317aef8368a1274776c49f0f5b90d", "fetched_at": "2026-08-28T04:05:10.549286+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pguso/rag-from-scratch"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:51:48.488095+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0d560501b5dd53d4dbf84ab357eea579c3317aef8368a1274776c49f0f5b90d", "fetched_at": "2026-08-28T04:05:10.549286+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pguso/rag-from-scratch"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 71, "longevity": 22, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 310, "days_push": 175, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 49, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}