<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Bin Zhang's Blog</title>
    <link>https://binzhango.github.io/</link>
    <description>Notes on AI systems, retrieval, and data engineering by Bin Zhang.</description>
    <language>en</language>
    <atom:link href="https://binzhango.github.io/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Choosing a model API</title>
      <link>https://binzhango.github.io/posts/2026/11-17-understanding-model-apis/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/11-17-understanding-model-apis/</guid>
      <pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Learn what each model API returns and when to use it. Follow one booking question from a prompt to a message, a tool call, and a grounded answer.</description>
    </item>
    <item>
      <title>Memory-Informed Decisions: Hindsight and Jev in a LangChain Agent</title>
      <link>https://binzhango.github.io/posts/2026/11-05-hindsight-jev-memory-informed-decisions/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/11-05-hindsight-jev-memory-informed-decisions/</guid>
      <pubDate>Fri, 06 Nov 2026 17:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>A 64-request live benchmark and 48-call review diagnostic show what memory adds to Jev decisions—and where a confidence gate rejects answers it could have delivered.</description>
    </item>
    <item>
      <title>Hindsight Explained: Architecture and Persistent Memory for Local Agents</title>
      <link>https://binzhango.github.io/posts/2026/11-05-hindsight-agent-memory-benchmark/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/11-05-hindsight-agent-memory-benchmark/</guid>
      <pubDate>Thu, 05 Nov 2026 13:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Follow a project decision from a planner into Hindsight and back to a fresh coder session. Learn memory banks, retain, recall, reflect, and how to integrate persistent memory into local agents.</description>
    </item>
    <item>
      <title>Decision Models for LangChain Agents: Jev, Tool Review, and Measured Results</title>
      <link>https://binzhango.github.io/posts/2026/10-29-decision-models-jev-langchain/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/10-29-decision-models-jev-langchain/</guid>
      <pubDate>Thu, 29 Oct 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Separate predictions, policy, and execution with Jev and LangChain. Follow a refund through middleware, inspect review thresholds, and compare recorded decision latency with full-agent outcomes.</description>
    </item>
    <item>
      <title>RAG Engineering 10: Secure and Operate a RAG System</title>
      <link>https://binzhango.github.io/posts/2026/09-23-rag-engineering-10-security-governance/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/09-23-rag-engineering-10-security-governance/</guid>
      <pubDate>Wed, 23 Sep 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Carry authorization through retrieval, context, caches, and citations. Define trust boundaries, revocation behavior, and operational controls.</description>
    </item>
    <item>
      <title>RAG Engineering 09: Evaluate Retrieval and Gate Regressions</title>
      <link>https://binzhango.github.io/posts/2026/09-20-rag-engineering-09-rag-evaluation-regression-gates/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/09-20-rag-engineering-09-rag-evaluation-regression-gates/</guid>
      <pubDate>Sun, 20 Sep 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Separate retrieval coverage, context quality, and answer support. Calculate ranking metrics and design reproducible regression gates.</description>
    </item>
    <item>
      <title>RAG Engineering 08: Grounded Answers, Citation Validation, and Failure Recovery</title>
      <link>https://binzhango.github.io/posts/2026/09-17-rag-engineering-08-validated-cited-generation/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/09-17-rag-engineering-08-validated-cited-generation/</guid>
      <pubDate>Thu, 17 Sep 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Separate schema validity, citation identity, and factual support; design bounded repair, honest abstention, and streaming behavior around those distinct guarantees.</description>
    </item>
    <item>
      <title>RAG Engineering 07: Query Planning and Safe Structured Retrieval</title>
      <link>https://binzhango.github.io/posts/2026/09-14-rag-engineering-07-query-planning-safe-structured-retrieval/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/09-14-rag-engineering-07-query-planning-safe-structured-retrieval/</guid>
      <pubDate>Mon, 14 Sep 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Translate questions into bounded retrieval plans, preserve metadata constraints, and verify SQL result semantics with a worked incident-table example.</description>
    </item>
    <item>
      <title>RAG Engineering 06: Hybrid Search, RRF, and Bounded Corrective Retrieval</title>
      <link>https://binzhango.github.io/posts/2026/09-11-rag-engineering-06-hybrid-corrective-retrieval/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/09-11-rag-engineering-06-hybrid-corrective-retrieval/</guid>
      <pubDate>Fri, 11 Sep 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Work through reciprocal rank fusion, distinguish full-text search from BM25, and evaluate reranking and corrective retrieval without treating scores as confidence.</description>
    </item>
    <item>
      <title>RAG Engineering 05: Context Assembly, Parent Retrieval, and Multimodal Evidence</title>
      <link>https://binzhango.github.io/posts/2026/09-08-rag-engineering-05-context-expansion-multimodal-search/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/09-08-rag-engineering-05-context-expansion-multimodal-search/</guid>
      <pubDate>Tue, 08 Sep 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Turn retrieved candidates into useful context by preserving qualifiers, tracking expansion provenance, budgeting tokens, and separating image retrieval from visual answering.</description>
    </item>
    <item>
      <title>RAG Engineering 04: Embedding Models and Vector Index Compatibility</title>
      <link>https://binzhango.github.io/posts/2026/09-05-rag-engineering-04-embedding-profile-index-contract/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/09-05-rag-engineering-04-embedding-profile-index-contract/</guid>
      <pubDate>Sat, 05 Sep 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Understand vector geometry, pin the full encoding contract, and evaluate approximate search under real filters before migrating an embedding index.</description>
    </item>
    <item>
      <title>RAG Engineering 03: Versioned Ingestion and Safe Index Publication</title>
      <link>https://binzhango.github.io/posts/2026/09-02-rag-engineering-03-safe-versioned-ingestion/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/09-02-rag-engineering-03-safe-versioned-ingestion/</guid>
      <pubDate>Wed, 02 Sep 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Design document ingestion around immutable representations, idempotent jobs, and atomic publication so failed updates cannot silently replace searchable evidence.</description>
    </item>
    <item>
      <title>RAG Engineering 02: Chunking, Parsing, and the Evidence You Lose</title>
      <link>https://binzhango.github.io/posts/2026/08-30-rag-engineering-02-chunking-is-a-retrieval-decision/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/08-30-rag-engineering-02-chunking-is-a-retrieval-decision/</guid>
      <pubDate>Sun, 30 Aug 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Compare chunk boundaries on the same source, preserve qualifiers and table structure, and evaluate retrieval against stable evidence rather than arbitrary chunk IDs.</description>
    </item>
    <item>
      <title>RAG Engineering 01: How RAG Works, from Documents to Answers</title>
      <link>https://binzhango.github.io/posts/2026/08-27-rag-engineering-01-inspectable-rag-baseline/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/08-27-rag-engineering-01-inspectable-rag-baseline/</guid>
      <pubDate>Thu, 27 Aug 2026 16:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Understand how RAG connects documents to an LLM: build an index, retrieve passages, assemble context, and return an answer with traceable sources.</description>
    </item>
    <item>
      <title>RAG in 2026: From Vector Search Demo to Reliable Evidence System</title>
      <link>https://binzhango.github.io/posts/2026/08-19-modern-rag-engineering/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/08-19-modern-rag-engineering/</guid>
      <pubDate>Wed, 19 Aug 2026 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>A system-level guide to the twelve classic RAG failure modes, the techniques now used to address them, and the limits that still remain.</description>
    </item>
    <item>
      <title>Standing on Open Source: How a Codex Edge Case Became Agentusage</title>
      <link>https://binzhango.github.io/posts/2026/07-21-agentusage-local-usage-dashboard/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/07-21-agentusage-local-usage-dashboard/</guid>
      <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <category>SOFTWARE ENGINEERING</category>
      <description>How two OpenUsage projects inspired me to investigate a Codex JSONL edge case and build a local-first dashboard for AI coding agents.</description>
    </item>
    <item>
      <title>Statistical Tests for Data Analysis: A Practical Onboarding Guide</title>
      <link>https://binzhango.github.io/posts/2026/07-12-statistical-tests-for-data-analysis/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/07-12-statistical-tests-for-data-analysis/</guid>
      <pubDate>Sun, 12 Jul 2026 00:00:00 GMT</pubDate>
      <category>DATA SCIENCE</category>
      <description>Learn how to choose and use statistical tests without turning analysis into a p-value checklist—from experimental design and assumptions to effect sizes, confidence intervals, and clear recommendations.</description>
    </item>
    <item>
      <title>Use Local Models in VS Code Copilot with LM Studio and Unsloth Studio</title>
      <link>https://binzhango.github.io/posts/2026/07-10-local-models-vscode-copilot-lm-studio-unsloth/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/07-10-local-models-vscode-copilot-lm-studio-unsloth/</guid>
      <pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <category>SOFTWARE ENGINEERING</category>
      <description>How to connect VS Code Copilot Chat to local OpenAI-compatible models served by LM Studio or Unsloth Studio, including the BYOK utility-model setting that prevents agent errors.</description>
    </item>
    <item>
      <title>KV-Centric LLM Serving: vLLM, SGLang, and Disaggregated Attention</title>
      <link>https://binzhango.github.io/posts/2026/07-05-vllm-sglang-attention/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/07-05-vllm-sglang-attention/</guid>
      <pubDate>Sun, 05 Jul 2026 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <category>LARGE LANGUAGE MODELS</category>
      <description>A practical mental model for KV cache memory, vLLM PagedAttention, SGLang RadixAttention, and prefill/decode disaggregation in modern LLM serving.</description>
    </item>
    <item>
      <title>Reproducing vLLM and LMCache KV Cache Reuse on a CPU-Only MacBook</title>
      <link>https://binzhango.github.io/posts/2026/07-03-reproduce-vllm-lmcache-cpu-macbook/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/07-03-reproduce-vllm-lmcache-cpu-macbook/</guid>
      <pubDate>Fri, 03 Jul 2026 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <category>SOFTWARE ENGINEERING</category>
      <description>A reproducible CPU-only vLLM and LMCache workspace for understanding KV cache reuse, transfer modes, and local inference debugging on Apple Silicon.</description>
    </item>
    <item>
      <title>Use Databricks Models with VS Code Copilot and Copilot CLI</title>
      <link>https://binzhango.github.io/posts/2026/06-23-databricks-model-serving-vscode-copilot-cli/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/06-23-databricks-model-serving-vscode-copilot-cli/</guid>
      <pubDate>Tue, 23 Jun 2026 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <category>DATA ENGINEERING</category>
      <category>SOFTWARE ENGINEERING</category>
      <description>How to use one local proxy to connect Databricks Model Serving to both VS Code Copilot Custom Endpoint and GitHub Copilot CLI.</description>
    </item>
    <item>
      <title>A Git-Native Message Channel for Local Coding Agents</title>
      <link>https://binzhango.github.io/posts/2026/06-18-git-native-message-channel-for-local-coding-agents/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/06-18-git-native-message-channel-for-local-coding-agents/</guid>
      <pubDate>Thu, 18 Jun 2026 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <category>SOFTWARE ENGINEERING</category>
      <description>How I use a Git ref as a local message channel between Claude Code and Codex for implementation, independent review, and iterative bug fixing.</description>
    </item>
    <item>
      <title>Attention Dilution</title>
      <link>https://binzhango.github.io/posts/2026/03-15-attention-dilution/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/03-15-attention-dilution/</guid>
      <pubDate>Sun, 15 Mar 2026 00:00:00 GMT</pubDate>
      <category>LARGE LANGUAGE MODELS</category>
      <description>Why longer LLM context windows can make answers worse: softmax dilution, positional bias, and attention sinks.</description>
    </item>
    <item>
      <title>AI Terminology: Agents, Skills, RAG, MCP, and the Layers Beneath the Hype</title>
      <link>https://binzhango.github.io/posts/2026/03-08-ai-terminology/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/03-08-ai-terminology/</guid>
      <pubDate>Sun, 08 Mar 2026 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>A practical mental model for AI terminology: prompt, context, memory, agents, RAG, function calling, MCP, workflows, skills, and sub-agents.</description>
    </item>
    <item>
      <title>From Prompt to Response: A Step-by-Step Walkthrough of LLM Inference</title>
      <link>https://binzhango.github.io/posts/2026/03-07-prompt-in-llm/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/03-07-prompt-in-llm/</guid>
      <pubDate>Sat, 07 Mar 2026 00:00:00 GMT</pubDate>
      <category>LARGE LANGUAGE MODELS</category>
      <description>A cleaner mental model for LLM inference: prompt templating, tokenization, scheduling, prefill, KV cache, decode, and the split between the inference engine and the model.</description>
    </item>
    <item>
      <title>ChatGPT in 2025: A Year in Review</title>
      <link>https://binzhango.github.io/posts/2026/01-04-chatgpt-2025-summary/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2026/01-04-chatgpt-2025-summary/</guid>
      <pubDate>Sun, 04 Jan 2026 00:00:00 GMT</pubDate>
      <category>LARGE LANGUAGE MODELS</category>
      <description>A visual recap of my year with ChatGPT in 2025, collecting usage statistics and personalized summary cards.</description>
    </item>
    <item>
      <title>The Mandate for Leadership in AI Engineering</title>
      <link>https://binzhango.github.io/posts/2025/11-27-ai-engineer/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/11-27-ai-engineer/</guid>
      <pubDate>Thu, 27 Nov 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Over the next 12 to 24 months, the differentiator among engineers will shift from mastery of programming languages like Rust, Go, or Python, or the volume of code produced, to the ability to effectively orchestrate and manage AI-driven...</description>
    </item>
    <item>
      <title>LLM Interview Questions</title>
      <link>https://binzhango.github.io/posts/2025/10-30-llm-interview/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/10-30-llm-interview/</guid>
      <pubDate>Thu, 30 Oct 2025 00:00:00 GMT</pubDate>
      <category>LARGE LANGUAGE MODELS</category>
      <description>Language models learn distributions over tokens; useful applications also depend on sound evaluation, efficient training and inference, and reliable access to evidence. These questions cover those foundations through fine-tuning, agents,...</description>
    </item>
    <item>
      <title>LLM Training Epoch</title>
      <link>https://binzhango.github.io/posts/2025/10-29-epoch/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/10-29-epoch/</guid>
      <pubDate>Wed, 29 Oct 2025 00:00:00 GMT</pubDate>
      <category>LARGE LANGUAGE MODELS</category>
      <description>As large language models (LLMs) scale up, researchers have begun to notice a growing imbalance between model size and the availability of high-quality training tokens. The relationship between model parameters and training data volume is...</description>
    </item>
    <item>
      <title>vllm throughput</title>
      <link>https://binzhango.github.io/posts/2025/10-20-vllm/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/10-20-vllm/</guid>
      <pubDate>Mon, 20 Oct 2025 00:00:00 GMT</pubDate>
      <category>LARGE LANGUAGE MODELS</category>
      <description>vLLM pre-allocates a block of GPU memory for KV-cache based on the --gpu_memory_utilization parameter. By increasing this parameter, you free up more contiguous space for KV blocks, reducing fragmentation and enabling larger batch sizes.</description>
    </item>
    <item>
      <title>LangGraph Reflection</title>
      <link>https://binzhango.github.io/posts/2025/10-19-reflection/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/10-19-reflection/</guid>
      <pubDate>Sun, 19 Oct 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Reflection is related to agent self-improvement or reasoning feedback loops.</description>
    </item>
    <item>
      <title>LangGraph Sample Project</title>
      <link>https://binzhango.github.io/posts/2025/10-02-langchain/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/10-02-langchain/</guid>
      <pubDate>Thu, 02 Oct 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>A LangGraph sample project with separate research, analysis, and supervisor services, REST communication, and retry handling.</description>
    </item>
    <item>
      <title>LangChain/LangGraph Q&amp;A</title>
      <link>https://binzhango.github.io/posts/2025/09-29-langchain/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/09-29-langchain/</guid>
      <pubDate>Mon, 29 Sep 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>LangGraph’s core philosophy is to orchestrate multi-step, stateful agent workflows using a directed graph (DAG or DG) structure. Each step is modeled as a node, while data and control flow are defined through edges.</description>
    </item>
    <item>
      <title>Training LLM From Zero</title>
      <link>https://binzhango.github.io/posts/2025/08-10-model-training/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/08-10-model-training/</guid>
      <pubDate>Sun, 10 Aug 2025 00:00:00 GMT</pubDate>
      <category>LARGE LANGUAGE MODELS</category>
      <description>The goal of this project is to design, implement, and train a small-scale Large Language Model (LLM) from scratch, progressing through the full training lifecycle:</description>
    </item>
    <item>
      <title>FastMCP MCP Server Hub</title>
      <link>https://binzhango.github.io/posts/2025/07-16-fastmcp-mcp-server/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/07-16-fastmcp-mcp-server/</guid>
      <pubDate>Wed, 16 Jul 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Currently, our different projects are using various MCP servers. To streamline and unify the process, we plan to implement a HUB MCP server that can handle multiple MCP Servers and reuse components.</description>
    </item>
    <item>
      <title>How LLM Tools work</title>
      <link>https://binzhango.github.io/posts/2025/07-11-llm-tools/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/07-11-llm-tools/</guid>
      <pubDate>Fri, 11 Jul 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Tool system is a form of metaprogramming</description>
    </item>
    <item>
      <title>LangChain Retry Logic</title>
      <link>https://binzhango.github.io/posts/2025/07-01-langchain-retry/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/07-01-langchain-retry/</guid>
      <pubDate>Tue, 01 Jul 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>LLM call is not stable and may fail due to network issues or other reasons, therefore, retry logic is necessary.</description>
    </item>
    <item>
      <title>MCP Transports</title>
      <link>https://binzhango.github.io/posts/2025/06-23-mcp-transports/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/06-23-mcp-transports/</guid>
      <pubDate>Mon, 23 Jun 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Compare stdio, SSE, and Streamable HTTP transports for MCP, with Python examples for configuring servers and clients.</description>
    </item>
    <item>
      <title>Text to SQL (Smolagents)</title>
      <link>https://binzhango.github.io/posts/2025/05-04-text-to-sql/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/05-04-text-to-sql/</guid>
      <pubDate>Sun, 04 May 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>A smolagents text-to-SQL example with query execution logs, answers from a receipts database, and tracing with Phoenix.</description>
    </item>
    <item>
      <title>MCP Server &amp; Client (SSE)</title>
      <link>https://binzhango.github.io/posts/2025/04-25-mcp/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/04-25-mcp/</guid>
      <pubDate>Fri, 25 Apr 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Beside the vscode extension hosts like (cline, continue), you can write your own client to connect to the MCP server. The client should be able to send and receive messages using Server Sent Events (SSE). Here is a simple example in Python:</description>
    </item>
    <item>
      <title>RAG-Reranking</title>
      <link>https://binzhango.github.io/posts/2025/04-22-reranking-in-rag/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/04-22-reranking-in-rag/</guid>
      <pubDate>Tue, 22 Apr 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Retrieval-Augmented Generation (RAG) is a powerful approach that combines retrieval and generation to produce high-quality responses. However, the quality of the final response can be significantly influenced by the effectiveness of the...</description>
    </item>
    <item>
      <title>Ollama Import GGUF Models</title>
      <link>https://binzhango.github.io/posts/2025/04-21-ollama-gguf/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/04-21-ollama-gguf/</guid>
      <pubDate>Mon, 21 Apr 2025 00:00:00 GMT</pubDate>
      <category>LARGE LANGUAGE MODELS</category>
      <description>If you&apos;re looking to experiment with various models easily, importing GGUF might be your go-to method. Here&apos;s how it works:</description>
    </item>
    <item>
      <title>GenAI Projects</title>
      <link>https://binzhango.github.io/posts/2025/03-29-llm-usage/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/03-29-llm-usage/</guid>
      <pubDate>Sat, 29 Mar 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>A collection of generative AI resources and project notes on schema mapping, feature engineering, PDF extraction, and agent frameworks.</description>
    </item>
    <item>
      <title>Crawling the Web with LLM</title>
      <link>https://binzhango.github.io/posts/2025/02-16-web-crawler/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/02-16-web-crawler/</guid>
      <pubDate>Sun, 16 Feb 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Web crawling frameworks and a ScrapeGraphAI example that uses local Ollama models to extract structured information from a webpage.</description>
    </item>
    <item>
      <title>LangGraph VS AutoGen</title>
      <link>https://binzhango.github.io/posts/2025/02-09-langgraph-autogen/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/02-09-langgraph-autogen/</guid>
      <pubDate>Sun, 09 Feb 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Compare LangGraph and AutoGen across workflow structure, state management, customization, and use cases for LLM applications.</description>
    </item>
    <item>
      <title>Autogen Intro and RAG Workflow</title>
      <link>https://binzhango.github.io/posts/2025/02-08-autogen/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/02-08-autogen/</guid>
      <pubDate>Sat, 08 Feb 2025 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>AutoGen is a framework for creating multi-agent AI applications that can act autonomously or work alongside humans.</description>
    </item>
    <item>
      <title>Local LLM Setup</title>
      <link>https://binzhango.github.io/posts/2025/02-02-local-llm-model-setup/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2025/02-02-local-llm-model-setup/</guid>
      <pubDate>Sun, 02 Feb 2025 00:00:00 GMT</pubDate>
      <category>LARGE LANGUAGE MODELS</category>
      <description>This guide will walk you through setting up a local language model (LLM) using Ollama. Ollama is an open-source, lightweight language model that can be run locally on your machine or server. This setup allows for greater privacy and control...</description>
    </item>
    <item>
      <title>Gradio with Ollama</title>
      <link>https://binzhango.github.io/posts/2024/12-15-gradio-with-llm/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2024/12-15-gradio-with-llm/</guid>
      <pubDate>Sun, 15 Dec 2024 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Notes on processing unstructured PDF content and a demo architecture connecting a Gradio interface to models served by Ollama.</description>
    </item>
    <item>
      <title>PySpark Dataframe Transformation</title>
      <link>https://binzhango.github.io/posts/2024/11-15-pyspark-usage/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2024/11-15-pyspark-usage/</guid>
      <pubDate>Fri, 15 Nov 2024 00:00:00 GMT</pubDate>
      <category>DATA ENGINEERING</category>
      <description>Notes on moving from Scala to PySpark, using Python dataclasses for data models, and creating DataFrames from Row objects.</description>
    </item>
    <item>
      <title>Databricks Wheel Job</title>
      <link>https://binzhango.github.io/posts/2024/11-01-databricks-pyspark-wheel-project/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2024/11-01-databricks-pyspark-wheel-project/</guid>
      <pubDate>Fri, 01 Nov 2024 00:00:00 GMT</pubDate>
      <category>DATA ENGINEERING</category>
      <description>Recently I successfully deploy my python wheel to Databricks Cluster. Here are some tips if you plan to deploy pyspark.</description>
    </item>
    <item>
      <title>Python Decorator</title>
      <link>https://binzhango.github.io/posts/2024/10-23-python-decorator/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2024/10-23-python-decorator/</guid>
      <pubDate>Wed, 23 Oct 2024 00:00:00 GMT</pubDate>
      <category>SOFTWARE ENGINEERING</category>
      <description>It will extend your function behaviors during runtime.</description>
    </item>
    <item>
      <title>ZIO</title>
      <link>https://binzhango.github.io/posts/2024/10-16-zio/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2024/10-16-zio/</guid>
      <pubDate>Wed, 16 Oct 2024 00:00:00 GMT</pubDate>
      <category>SOFTWARE ENGINEERING</category>
      <description>Recently I read a Blog that introducing how to use scala framework ZIO to build an application.</description>
    </item>
    <item>
      <title>Reflex Learning</title>
      <link>https://binzhango.github.io/posts/2024/10-13-reflex-learning-youtube/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2024/10-13-reflex-learning-youtube/</guid>
      <pubDate>Sun, 13 Oct 2024 00:00:00 GMT</pubDate>
      <category>SOFTWARE ENGINEERING</category>
      <description>Reflex is a library to build full-stack web apps in pure Python.</description>
    </item>
    <item>
      <title>Snowflake Data Science Training Summary</title>
      <link>https://binzhango.github.io/posts/2024/snowflake_training_summary/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2024/snowflake_training_summary/</guid>
      <pubDate>Sat, 05 Oct 2024 00:00:00 GMT</pubDate>
      <category>DATA SCIENCE</category>
      <description>I have enrolled in a private Snowflake Data Science Training. Let me list what I learned from it.</description>
    </item>
    <item>
      <title>AutoGen HttpClient</title>
      <link>https://binzhango.github.io/posts/2024/01-01-autogen-reset-client/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2024/01-01-autogen-reset-client/</guid>
      <pubDate>Sun, 08 Sep 2024 00:00:00 GMT</pubDate>
      <category>AI ENGINEERING</category>
      <description>Now we can add our proxy config in our client, which will resolve connection issue.</description>
    </item>
    <item>
      <title>How to execute python modules</title>
      <link>https://binzhango.github.io/posts/2024/how-to-execute-python-module/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2024/how-to-execute-python-module/</guid>
      <pubDate>Sun, 08 Sep 2024 00:00:00 GMT</pubDate>
      <category>SOFTWARE ENGINEERING</category>
      <description>We can use internal runpy to execute different moduls in our project.</description>
    </item>
    <item>
      <title>Model Registry</title>
      <link>https://binzhango.github.io/posts/2024/model-registry/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2024/model-registry/</guid>
      <pubDate>Mon, 12 Aug 2024 00:00:00 GMT</pubDate>
      <category>MACHINE LEARNING</category>
      <description>Problem: How to introduce ml-based production/features to cross-functional teams.</description>
    </item>
    <item>
      <title>Setup Minikube</title>
      <link>https://binzhango.github.io/posts/2021/minikube-in-macos/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2021/minikube-in-macos/</guid>
      <pubDate>Sun, 18 Jul 2021 05:53:45 GMT</pubDate>
      <category>DEVOPS</category>
      <description>Set up Minikube on macOS, deploy a sample application, and submit a Spark job to a local Kubernetes cluster.</description>
    </item>
    <item>
      <title>Azure Data Factory (Data Flow)</title>
      <link>https://binzhango.github.io/posts/2020/azure-data-factory-data-flow/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2020/azure-data-factory-data-flow/</guid>
      <pubDate>Wed, 18 Nov 2020 21:27:29 GMT</pubDate>
      <category>DATA ENGINEERING</category>
      <description>Recently I&apos;m working in Azure to implement ETL jobs. The main tool is ADF (Azure Data Factory). This post show some solutions to resolve issue in my work.</description>
    </item>
    <item>
      <title>Spark Dataframe window function</title>
      <link>https://binzhango.github.io/posts/2020/spark-dataframe-window-function/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2020/spark-dataframe-window-function/</guid>
      <pubDate>Sun, 01 Mar 2020 18:35:36 GMT</pubDate>
      <category>DATA ENGINEERING</category>
      <description>A Scala reference for working with window functions in Spark SQL.</description>
    </item>
    <item>
      <title>Spark Optimization</title>
      <link>https://binzhango.github.io/posts/2020/spark-optimization/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2020/spark-optimization/</guid>
      <pubDate>Fri, 21 Feb 2020 14:10:36 GMT</pubDate>
      <category>DATA ENGINEERING</category>
      <description>Data locality is how close data is to the code processing it. There are several levels of locality based on the data’s current location. In order from closest to farthest:</description>
    </item>
    <item>
      <title>Spark SQL</title>
      <link>https://binzhango.github.io/posts/2020/sparksql_tuning/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2020/sparksql_tuning/</guid>
      <pubDate>Fri, 21 Feb 2020 14:10:36 GMT</pubDate>
      <category>DATA ENGINEERING</category>
      <description>Spark submit options and tuning notes covering executors, memory, parallelism, and resource allocation on YARN.</description>
    </item>
    <item>
      <title>Airflow</title>
      <link>https://binzhango.github.io/posts/2020/airflow/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2020/airflow/</guid>
      <pubDate>Tue, 11 Feb 2020 22:20:40 GMT</pubDate>
      <category>DATA ENGINEERING</category>
      <description>Airflow DAG examples for scheduling Python tasks, configuring retries and queues, and separating task implementations.</description>
    </item>
    <item>
      <title>Whitening transformation</title>
      <link>https://binzhango.github.io/posts/2020/whitening-transformation/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2020/whitening-transformation/</guid>
      <pubDate>Tue, 11 Feb 2020 08:17:08 GMT</pubDate>
      <category>MACHINE LEARNING</category>
      <description></description>
    </item>
    <item>
      <title>Spark Structured Streaming</title>
      <link>https://binzhango.github.io/posts/2020/spark-structured-streaming/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2020/spark-structured-streaming/</guid>
      <pubDate>Sat, 08 Feb 2020 23:23:13 GMT</pubDate>
      <category>DATA ENGINEERING</category>
      <description>Recently reading a blog Structured Streaming in PySpark It&apos;s implemented in Databricks platform. Then I try to implement in my local Spark. Some tricky issue happened during my work.</description>
    </item>
    <item>
      <title>Batch Normalization</title>
      <link>https://binzhango.github.io/posts/2020/batch-normalization/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2020/batch-normalization/</guid>
      <pubDate>Tue, 04 Feb 2020 08:15:15 GMT</pubDate>
      <category>MACHINE LEARNING</category>
      <description>Batch Normalization is one of important parts in our NN.</description>
    </item>
    <item>
      <title>Gradient Descent</title>
      <link>https://binzhango.github.io/posts/2020/gradient-descent/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2020/gradient-descent/</guid>
      <pubDate>Sun, 02 Feb 2020 21:04:06 GMT</pubDate>
      <category>MACHINE LEARNING</category>
      <description>Vanilla gradient descent, aka batch gradient descent, computes the gradient of the cost function w.r.t. to the parameters θ</description>
    </item>
    <item>
      <title>Repo List</title>
      <link>https://binzhango.github.io/posts/2012/repos/</link>
      <guid isPermaLink="true">https://binzhango.github.io/posts/2012/repos/</guid>
      <pubDate>Mon, 15 Oct 2012 00:00:00 GMT</pubDate>
      <description></description>
    </item>
  </channel>
</rss>
