Skip to content

Conversation

@Subhi-Sadiyev
Copy link

📌 Description

This PR adds optional graph knowledge visualization cells to the Graph-RAG quickstart notebook (graph_rag_with_milvus.ipynb).

The visualizations help users understand how entities and relations connect in the Graph-RAG workflow, using nano_dataset as example.

These additions are purely educational and no changes to retrieval logic, data flow or Milvus behavior is made.

Closes #1566

✅ Changes

  • Feature added:
    Added two optional visualization cells:
    1. Full knowledge graph visualization (after entityid_2_relationids / relationid_2_passageids)
    2. Final expanded subgraph visualization (after relation_candidate_ids)
  • Bug fixed: n/a
  • Refactor: n/a
  • Other (explain): n/a

🔬 How to Test

  1. Open tutorials/quickstart/graph_rag_with_milvus.ipynb
  2. Run all cells in order — both new visualizations render inline (matplotlib + networkx)

📝 Checklist

  • Code compiles and runs
  • Linting passes (Check jupyter notebooks: pip install "black[jupyter]" > black {file_or_directory})
  • PR includes relevant docs or comments
  • Rebased on the latest main (no merge commits or conflicts)

🧼 Commit Hygiene

✔️ Follow best practices:

  • Small, focused commits with clear messages
  • Group related changes together
  • Avoid large monolithic commits
  • Use meaningful commit messages (e.g., fix:, feat:, refactor:)

👀 Reviewer Notes

  • Please verify cell placement (immediately after the noted data structures are built)
  • Confirm that visualization runs inline only (no file writes)

📎 Related Issues, PRs, or Docs

  • Related PR: #
  • Issue: #

@sre-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Subhi-Sadiyev

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@sre-ci-robot
Copy link
Collaborator

Welcome @Subhi-Sadiyev! It looks like this is your first PR to milvus-io/bootcamp 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add optional graph visualization cells to Graph-RAG quickstart notebook

2 participants