← Back to projects
AI Engineering Book Assistant logo
LLM · PDF RAG

AI Engineering Book Assistant

Chapter-aware AI study assistant with SQLite reference search and optional OpenAI-powered RAG.

LLMRAGSQLite

Overview

An AI-powered study companion for Chip Huyen's AI Engineering: Building Applications with Foundation Models. The assistant organizes learning around the book's chapters and key subjects, including prompt engineering, RAG, agents, fine-tuning, evaluation, and inference optimization. Readers can explore the book through chapter-aware conversations, searchable references, and linked PDF pages. It provides local SQLite full-text passage search without paid APIs, with an optional OpenAI, LangChain, and Pinecone RAG mode for source-grounded conceptual explanations. Conversation management, topic shortcuts, and a streamlined interface turn a technical textbook into a more interactive learning resource.

Technical details

A curated chapter-and-section catalog enriches retrieved passages with metadata, allowing conversations to narrow evidence to a selected topic rather than searching the entire book indiscriminately. SQLite FTS5 offers direct offline reference lookup; the live retrieval pipeline applies chapter metadata filters before composing explanations from the selected sources. Scoped conversation persistence, PDF-page attribution, and catalog/retrieval tests connect the learning experience to a traceable architecture.