# Cursor Chat: ai-agent-book

## Metadata
- **Project**: ai-agent-book
- **Path**: `/Users/boj`
- **Date**: 2025-10-06 00:45:15
- **Session ID**: `86453989-98f3-4ccd-af70-2c312f5abc39`

## Conversation

### 👤 You

@https://ai.meta.com/blog/when-to-fine-tune-llms-vs-other-techniques/ 在 chapter 7 中 “模型后训练与 RAG、上下文学习的对比选型” 一节，加入这篇文章的内容，但不要简单翻译，需要根据自己

---

### 👤 You

@https://ai.meta.com/blog/when-to-fine-tune-llms-vs-other-techniques/ 在 chapter 7 中 “模型后训练与 RAG、上下文学习的对比选型” 一节，加入这篇文章的内容，但不要简单翻译，需要根据自己的理解，深入思考之后，组织成这本学术著作的一个章节

---

### 🤖 Cursor Assistant

I'll open `book/chapter7.md` to see its current structure and then add the requested section with synthesized analysis based on the Meta AI article.

---

### 🤖 Cursor Assistant

I'll add a synthesized, in-depth section under “模型后训练与 RAG、上下文学习的对比选型” in `book/chapter7.md`, integrating and citing the Meta AI article.

---

### 🤖 Cursor Assistant

I added a new, synthesized section under “模型后训练与 RAG、上下文学习的对比选型” in `book/chapter7.md`, integrating Meta AI’s guidance with production-oriented decision rules. Now I’ll quickly lint-check it and wrap up.

- Added a structured comparison of ICL, RAG, and fine-tuning, decision criteria, hybrid strategies, risks/engineering mitigations, evaluation methodology, and a practical playbook.
- Cited the source: [Meta AI: To fine-tune or not to fine-tune](https://ai.meta.com/blog/when-to-fine-tune-llms-vs-other-techniques/).

---

### 👤 You

不要是这么多 bullet list，需要是完整的段落，看 chapter2.md 的结构

---

### 🤖 Cursor Assistant

I'll check the current contents of `book/chapter7.md` and the structure of `book/chapter2.md` to match its paragraph style before rewriting the section into continuous prose.

---

### 🤖 Cursor Assistant

I'll rewrite the section in `book/chapter7.md` into continuous prose matching the style of `chapter2.md`, then apply the edit.

---

### 🤖 Cursor Assistant

Rewrote the section into continuous prose to match `chapter2.md`’s narrative style, removed bullet lists, and retained the Meta article citation.

- Edited `book/chapter7.md` under “模型后训练与 RAG、上下文学习的对比选型” to a cohesive multi-paragraph analysis, integrating selection criteria, hybrid strategy, engineering trade-offs, decision narrative, evaluation plan, and rollout sequence.
- Source cited: [Meta AI: To fine-tune or not to fine-tune](https://ai.meta.com/blog/when-to-fine-tune-llms-vs-other-techniques/).

---


*Exported from [Cursor View](https://github.com/saharmor/cursor-view)*