<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RAG | Dylan Chiang</title><link>https://dylanchiang-dev.github.io/en/tags/rag/</link><atom:link href="https://dylanchiang-dev.github.io/en/tags/rag/index.xml" rel="self" type="application/rss+xml"/><description>RAG</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-US</language><lastBuildDate>Sat, 03 Oct 2026 00:00:00 +0000</lastBuildDate><image><url>https://dylanchiang-dev.github.io/media/icon_hu_982c5d63a71b2961.png</url><title>RAG</title><link>https://dylanchiang-dev.github.io/en/tags/rag/</link></image><item><title>Generative Agents: Replication, Model Migration, and Legal RAG</title><link>https://dylanchiang-dev.github.io/en/project/generative-agents-rag/</link><pubDate>Sat, 03 Oct 2026 00:00:00 +0000</pubDate><guid>https://dylanchiang-dev.github.io/en/project/generative-agents-rag/</guid><description>&lt;p>This course implementation builds on Stanford Generative Agents. I adapted model services, configured a focused interaction scenario, and integrated legal-document retrieval into the existing agent workflow.&lt;/p>
&lt;h2 id="my-extensions">My extensions&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>Model-service migration&lt;/strong>: Adapted chat calls to Volcengine/Doubao and handled its distinct multimodal embedding interface.&lt;/li>
&lt;li>&lt;strong>Three-agent scenario&lt;/strong>: Configured roles, starting locations, and a meeting setup for focused interaction checks.&lt;/li>
&lt;li>&lt;strong>Spatial consistency&lt;/strong>: Aligned scene regions, character spatial memory, and spawning locations.&lt;/li>
&lt;li>&lt;strong>Document indexing&lt;/strong>: Added chunking, embedding calls, and document–vector mappings using JSON and NumPy.&lt;/li>
&lt;li>&lt;strong>Retrieval integration&lt;/strong>: Implemented cosine-similarity Top-K retrieval and legal-keyword triggers that inject retrieved text into agent context.&lt;/li>
&lt;li>&lt;strong>Integration records&lt;/strong>: Retained retrieval checks and dialogue records without equating functional integration with validated human-like behavior.&lt;/li>
&lt;/ul>
&lt;h2 id="architecture">Architecture&lt;/h2>
&lt;figure>&lt;img src="https://dylanchiang-dev.github.io/project/generative-agents-rag/architecture.png"
alt="Document chunking, vector retrieval, context injection, and a three-agent integration scenario.">&lt;figcaption>
&lt;p>An implementation diagram, not an execution screenshot; upstream research and my integration work are distinguished.&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;h2 id="attribution-and-limits">Attribution and limits&lt;/h2>
&lt;p>The original framework and research belong to Stanford Generative Agents. My contribution is adaptation and integration, not invention of its memory, reflection, or planning mechanisms. No unmeasured improvement in answer quality is claimed.&lt;/p>
&lt;p>
·
&lt;/p></description></item></channel></rss>