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

Đang mở
#199 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
55/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
markdown
Lĩnh vực
ai, documentation

Hướng nghiên cứu

Xác định điểm vào của tài liệu Markdown của quickstart và xem xét README WFGY ProblemMap được liên kết trong issue. Thêm một phần nâng cao tùy chọn giải thích bản đồ 16 vấn đề, cách áp dụng bản đồ này cho các trace bị lỗi, và rằng nó không thay đổi mã hoặc API của quickstart. Công việc được coi là hoàn tất khi phần này được điều chỉnh cho quickstart này và bao gồm liên kết liên quan.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Jupyter Notebook
Star
18.4k
Fork
3.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của google-gemini/gemini-fullstack-langgraph-quickstart

Tất cả issue của google-gemini/gemini-fullstack-langgraph-quickstart

Issue tương tự

Thêm issue về AI Infra & Agents

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.