<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Context Engineering on moyutianzun's blog</title><link>https://moyutianzun.cn/en/categories/context-engineering/</link><description>Recent content in Context Engineering on moyutianzun's blog</description><generator>Hugo</generator><language>en</language><copyright>moyutianzun</copyright><lastBuildDate>Wed, 31 Dec 2025 06:09:51 +0800</lastBuildDate><atom:link href="https://moyutianzun.cn/en/categories/context-engineering/index.xml" rel="self" type="application/rss+xml"/><item><title>github源码阅读：（一）LlamaIndex 上下文数据规范</title><link>https://moyutianzun.cn/en/blog/githubyuan-ma------llamaindex-shang-xia-wen-shu-ju-gui-fan/</link><pubDate>Wed, 31 Dec 2025 06:09:51 +0800</pubDate><guid>https://moyutianzun.cn/en/blog/githubyuan-ma------llamaindex-shang-xia-wen-shu-ju-gui-fan/</guid><description>&lt;h1 style="" id="%E6%A6%82%E8%BF%B0"&gt;概述&lt;/h1&gt;&lt;p style=""&gt;&lt;a href="https://github.com/run-llama/llama_index" target="_self" rel=""&gt;LlamaIndex&lt;/a&gt;（原名 GPT Index）是一个开源的数据框架，专门用于构建大语言模型（LLM）应用。它解决了 LLM 的一个核心局限性：&lt;strong&gt;LLM 在训练后就无法访问私有数据&lt;/strong&gt;。LlamaIndex 通过&lt;strong&gt;检索增强生成（RAG）&lt;/strong&gt;技术，将用户的私有数据与 LLM 的生成能力无缝连接。与langchain相比，langchian是编排工具流工作流等，&lt;strong&gt;而llamaindex专注于数据格式和数据索引&lt;/strong&gt;。&lt;/p&gt;</description></item><item><title>context engine note</title><link>https://moyutianzun.cn/en/blog/context-engine-note/</link><pubDate>Tue, 02 Dec 2025 09:28:32 +0800</pubDate><guid>https://moyutianzun.cn/en/blog/context-engine-note/</guid><description>&lt;h1 style="" id="context-manager"&gt;Context Manager&lt;/h1&gt;&lt;h2 style="" id="%E5%A4%9A%E6%A8%A1%E6%80%81%E6%95%B0%E6%8D%AE%E7%9A%84%E5%A4%84%E7%90%86"&gt;多模态数据的处理&lt;/h2&gt;&lt;p style=""&gt;现在大模型系统的对话窗口和处理数据会产生大量的上下文，后续的qa往往会用到其中一部分上下文，所以建立有效的context engine是十分必要的。&lt;/p&gt;&lt;p style=""&gt;&lt;/p&gt;&lt;h3 style="" id="nlp"&gt;NLP&lt;/h3&gt;&lt;p style=""&gt;&lt;strong&gt;用时问戳标记上下文&lt;/strong&gt; &lt;u&gt;一种常见的设计是在每条信息上附加时间戳，以保留其生成的顺序&lt;/u&gt;。这种方法由于简单且维护成本低，在聊天机器人和用户活动监控中广受欢迎。然而，该方法存在若干局限性。尽管时间戳能够保持时间顺序，但它们&lt;u&gt;不提供语义结构&lt;/u&gt;，使得捕捉长程依赖关系或高效检索相关信息变得困难。随着交互数据的累积，序列呈线性增长，导致在存储和推理方面均面临可扩展性问题&lt;/p&gt;</description></item></channel></rss>