Proposal: Add a 16-problem RAG / agent failure checklist as an advanced debugging section

未关闭
#199 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
55/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
停滞
技术栈
markdown
领域
ai, documentation

调研方向

定位 quickstart 的 Markdown 文档入口,并查看 issue 中链接的 WFGY ProblemMap README。添加一个可选的高级部分,说明 16 问题映射、如何将其应用于失败的 traces,以及它不会更改 quickstart 的代码或 API。完成的标准是该部分针对这个 quickstart 进行了定制,并包含相关链接。

由索引模型根据 Issue 内容生成。

描述

Description of the feature request:

The quickstart demonstrates a powerful deep research agent using Gemini + LangGraph. When users adopt it for their own topics and data, they inevitably run into subtle failures:

  • The agent misses obvious sources even though they are accessible on the web.
  • The reasoning chain oscillates or becomes shallow when questions are more complex.
  • Small config changes (search parameters, prompts) fix one scenario but quietly break others.
  • It is hard to tell whether a failure is caused by retrieval, graph structure, prompt design, or model choice.

Right now, each user has to invent their own mental model for these failures. An explicit 16-problem failure map gives them a common vocabulary and a concrete process: classify the failure mode first, then choose targeted fixes (adjust search, chunking, graph edges, or prompts) instead of random trial-and-error.

What problem are you trying to solve with this feature?

I’d like to propose a small docs-only addition to this quickstart: an “Advanced: diagnosing research agent failures (16-problem map)” section.

The idea is to document a compact failure checklist for the deep research agent shown in this repo. The checklist is based on a 16-problem map for RAG / agent failures (WFGY ProblemMap) and is purely text-based: users keep using this quickstart as is, but have an optional one-page poster + triage prompt they can consult when the agent behaves unexpectedly.

Concretely, the new docs section would:

  • Briefly explain that most failures in research agents fall into a small set of reproducible patterns (retrieval drift, chunking issues, config drift, search strategy problems, etc.).
  • Link to the 16-problem map and show how to use it: copy a failing trace (queries, retrieved snippets, answer) plus the poster into a strong LLM and ask, “Which failure modes apply here, and what structural fixes should I try first?”
  • Emphasize that this is an advanced, optional debugging tool and does not change the quickstart code or APIs.
Any other information you'd like to share?

The failure checklist I am suggesting is based on WFGY ProblemMap, an open-source 16-problem failure map for RAG / LLM pipelines and agentic systems (MIT-licensed).

It is already used in several ecosystems:

  • RAGFlow – integrates the map as an official RAG failure modes checklist in their docs.
  • LlamaIndex – incorporates it into their RAG troubleshooting documentation.
  • ToolUniverse (Harvard MIMS Lab) – wraps it as a triage tool for incident analysis.
  • It is also referenced by curated lists such as Awesome LLM Apps and Awesome-AITools as a diagnostics toolkit.

Map entry point (README + poster + triage prompt):

If this feature request is of interest, I’m happy to draft a concrete docs section (Markdown) tailored to this quickstart and open a PR so the team can review and adjust it.

主要语言
Jupyter Notebook
星标
18.4k
派生
3.1k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google-gemini/gemini-fullstack-langgraph-quickstart 的其他 Issue

查看 google-gemini/gemini-fullstack-langgraph-quickstart 的全部 Issue

相似的 Issue

更多 AI Infra & Agents Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。