TokenizationTokenization is the first step in any LLM pipeline: converting raw text into a sequence of integer IDs that the model actually processes. Understanding tokenization helps you reason about context wind…Sahil Kapoor's Playbook·May 17·3 min readLangchainVllmOllamaPrompt Engineering
RLHF (Reinforcement Learning from Human Feedback)RLHF is the training recipe that turned raw language models (good at predicting text) into aligned assistants (good at following instructions helpfully and safely). It was popularized by InstructGPT (…Sahil Kapoor's Playbook·May 17·3 min readLora Low Rank AdaptationPrompt EngineeringInference Endpoint
LoRA (Low-Rank Adaptation)LoRA (Low-Rank Adaptation) is a fine-tuning method introduced by Hu et al. at Microsoft in 2021. Instead of updating all billions of parameters in a large model, LoRA freezes the original weights and …Sahil Kapoor's Playbook·May 17·3 min readPrompt EngineeringSystem PromptRlhfVllm
System PromptIn the chat completions API format used by OpenAI, Anthropic, Google, and others, messages come in three roles: system, user, and assistant. The system message is the system prompt, it's processed fir…Sahil Kapoor's Playbook·May 17·3 min readCursorWindsurfLangchainMcp Model Context Protocol
LangChainLangChain is an open-source framework that provides building blocks for LLM applications. Rather than calling OpenAI's API directly and wiring everything by hand, LangChain gives you composable abstra…Sahil Kapoor's Playbook·May 17·3 min readOllamaSystem PromptMcp Model Context ProtocolPrompt Engineering
GitHub CopilotGitHub Copilot, launched in 2021 and built on OpenAI Codex (later GPT-4), was the first AI pair programmer to reach mainstream adoption. It integrates as an extension into VS Code, JetBrains, Neovim, …Sahil Kapoor's Playbook·May 17·3 min readCursorWindsurfOllamaVllm
CursorCursor is a fork of VS Code that reimagines the editor as an AI-native environment. While GitHub Copilot adds AI as a plugin to existing editors, Cursor was built from the ground up with AI as a first…Sahil Kapoor's Playbook·May 17·3 min readGithub CopilotMcp Model Context ProtocolSystem PromptOpenhands
MCP (Model Context Protocol)Model Context Protocol (MCP) is an open standard introduced by Anthropic in late 2024 that defines a universal way for large language models to communicate with external systems, files, databases, API…Sahil Kapoor's Playbook·May 17·3 min readCursorWindsurfOpenhandsLangchain