Skip to content

DOC-896 | End-to-end agentic AI tutorial - #1005

Open
nicos-arango wants to merge 13 commits into
mainfrom
DOC-896
Open

DOC-896 | End-to-end agentic AI tutorial#1005
nicos-arango wants to merge 13 commits into
mainfrom
DOC-896

Conversation

@nicos-arango

@nicos-arango nicos-arango commented May 15, 2026

Copy link
Copy Markdown
Contributor

Description

Upstream PRs

  • 3.10:
  • 3.11:
  • 3.12:
  • 4.0:

Summary by CodeRabbit

  • Documentation
    • Added the Agentic AI Suite tutorials landing page and the “From PostgreSQL to Graph‑Powered Catalog” series.
    • Published new chapters covering spine importing, OneShard databases, SatelliteGraphs, and graph registration in Graph Visualizer.
    • Expanded Visualizer guidance with custom themes and interactive Canvas Actions.
    • Introduced AI/analytics tutorial content: Ada assistant, GraphRAG over reviews, AutoGraph domain routing, Graph Analytics workflows, GraphML predictions, and an agentic merchandiser overview.

@arangodb-docs-automation

Copy link
Copy Markdown
Contributor

Deploy Preview Available Via
https://deploy-preview-1005--docs-hugo.netlify.app

@cla-bot cla-bot Bot added the cla-signed label May 15, 2026
@coderabbitai

coderabbitai Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2047ab67-05d1-402f-8632-89b904295c1c

📥 Commits

Reviewing files that changed from the base of the PR and between 9042af9 and 4fe522d.

📒 Files selected for processing (10)
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/autograph-knowledge-domains.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/canvas-actions.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/custom-themes.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graph-visualizer.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graphml-predictions.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/importing-data.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/meeting-ada.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/oneshard-databases.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/satellitegraphs.md
✅ Files skipped from review due to trivial changes (9)
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graphml-predictions.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/meeting-ada.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/canvas-actions.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/custom-themes.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graph-visualizer.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/oneshard-databases.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/satellitegraphs.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/autograph-knowledge-domains.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/importing-data.md

📝 Walkthrough

Walkthrough

Adds a complete Nordweave Agentic AI Suite tutorial series: landing page, dataset overview, import and cluster chapters (OneShard and SatelliteGraphs), visualization and investigation (Graph Visualizer, themes, Canvas Actions, Ada), knowledge graph retrieval (GraphRAG and AutoGraph), analytics and GraphML predictions, and the agentic merchandiser concept.

Changes

Nordweave Agentic AI Suite Tutorial Series

Layer / File(s) Summary
Tutorial series landing pages
site/content/agentic-ai-suite/tutorials/_index.md
Created tutorials hub with frontmatter and entry linking to the Nordweave PostgreSQL-to-graph journey.
Nordweave dataset overview and structure
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md
Introduced Nordweave scenario and scaling motivation, spine/unstructured layout with folder structure, vertex/edge collection tables with record counts and relationship shapes, JSONL examples showing ArangoDB _from/_to edges and payloads, caveats about designed_by edges and cross-database constraints, and chapter roadmap spanning foundations through agentic workflows.
Chapter 1.1 – Importing Nordweave spine
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/importing-data.md
Documented arangoimport bulk loader mental model and supported formats, provided step-by-step walkthroughs for vertex and edge collection imports with collection-type setup, included complete Bash script importing spine directory in correct order with threading/progress settings, and discussed import performance characteristics and GraphRAG Importer for unstructured content.
Chapter 1.2 – OneShard cluster configuration
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/oneshard-databases.md
Explained OneShard single-shard-per-collection behavior for single-server query latency, enabling via database creation and cluster startup flags, verification using db._explain() and cluster-one-shard optimizer rule, replication and failover semantics with replicationFactor, Agency/Raft consensus coordination, and guidance on when OneShard is unsuitable.
Chapter 1.3 – SatelliteGraphs for locality
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/satellitegraphs.md
Defined SatelliteGraphs as fully replicated read-heavy reference graphs, explained OneShard incompatibility and silent downgrade behavior, provided creation steps via @arangodb/satellite-graph with immutability constraints for satellite properties, documented arangoimport data-loading patterns with collection-reuse, described compute-resource locality via db._explain() behavior, outlined trade-offs of replicated writes, summarized Chapter 1 infrastructure (OneShard catalog plus separate satellite org graph), and pointed to visual exploration.
Chapter 2.1 – Graph Visualizer exploration
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graph-visualizer.md
Registered nordweave_catalog named graph with edge bindings and arangosh example, described Graph Visualizer UI regions (top bar, canvas, legend, layout), listed initial interactive canvas actions (expand nodes, search, shortest paths, dismiss others), and mapped relationship patterns: product star with edge types, customer journey (orders/returns/preferences), supply-chain traversal (manufactured_by/audited_in/affected_by), and org chart via SatelliteGraph.
Chapter 2.2 – Custom Graph Visualizer themes
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/custom-themes.md
Explained themes as visual customization sets (colors, icons, labels, hover info, attribute rules) without data changes, provided walkthrough to create first theme (Supply Chain View) with supplier and material node styling, documented three predefined theme recipes (Supply Chain, Customer Journey, Editorial) with node and edge styling rules, described switching via Legend panel and local storage persistence.
Chapter 2.3 – Canvas Actions for investigation
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/canvas-actions.md
Documented Canvas Actions as selection-driven AQL queries using @nodes and @edges bind variables, provided creation steps and five Nordweave-specific AQL examples (customer purchase paths, supply-chain trace, similar products with reviewers, customer returns, all shortest paths), included practice workflow for right-click execution and iterative investigation, and linked to Ada assistant.
Chapter 2.4 – Meeting Ada conversational assistant
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/meeting-ada.md
Introduced Ada with LLM provider setup via stored secrets, documented plain-English querying that generates AQL via configured LLM, explained AQL execution and result artifact types (React/Recharts visualizations, HTML/SVG diagrams/tables), provided Ada versus Graph Visualizer decision guidance with recommended combined workflow, listed related Agentic AI Suite tools, and recapped Chapter 2 capabilities.
GraphRAG – knowledge graph over reviews
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graphrag-over-reviews.md
Documented GraphRAG Importer that builds knowledge graphs from unstructured reviews, audits, and incident text, explained Retriever with Instant versus Deep Search modes for relationship-aware cross-document queries, provided example questions and expected multi-entity retrieval paths, and aligned knowledge-graph entities back to structured spine vertices to connect described causes to measured events.
AutoGraph – domain-aware retrieval and partitions
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/autograph-knowledge-domains.md
Explained AutoGraph domain discovery via Corpus Graph and document relationship analysis, documented per-domain RAG strategy assignment (FullGraphRAG for entity-rich domains, VectorRAG for simpler semantic search), described partition building and two-stage retrieval routing across partitions, and motivated partitioned domain-aware knowledge base for agentic cross-domain reasoning.
Graph Analytics – OLAP analyses and writeback
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graph-analytics.md
Described Graph Analytics Engine as OLAP layer separate from transactional OneShard database, specified algorithms: PageRank on co-purchase product graph, community detection on style tags and co-purchase, centrality on supply chain and materials graphs (audit risk linkage), connected components on influencer-style-customer graph, and documented UI/API execution with results persisted back to ArangoDB as document attributes.
GraphML predictions (GraphSAGE-based)
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graphml-predictions.md
Introduced GraphML use cases: link prediction for next purchase and node classification for return-fraud detection, explained prediction writeback into ArangoDB, introduced ArangoPipe for experiment tracking and lineage, summarized complete Nordweave stack layers all reading/writing the same graph.
Agentic merchandiser concept
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/agentic-merchandiser.md
Introduced agentic merchandiser coordinating NL2AQL + Reasoner, Retriever, analytics/ML attributes, and ArangoDB MCP Server for multi-step merchandising decisions, walked through FW25 goal example across nordweave graph, compared to PostgreSQL limitations, traced journey from relational constraints to contextual data platform, and outlined next steps for GraphRAG tooling and agent integration.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • arangodb/docs-hugo#968: Introduces Ada artifact types (React/Recharts and HTML/SVG diagrams) referenced by the "Meeting Ada" tutorial chapter.

Suggested reviewers

  • diegomendez40
  • nerpaula

Poem

🐰 From PostgreSQL's walls I hopped through,
To graph-powered vistas of Nordweave's view.
Themes dance, Canvas Actions trace,
Ada whispers through analytics' grace —
A rabbit's roadmap: structured spine to agentic embrace.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title clearly identifies the main change: adding documentation for an end-to-end agentic AI tutorial. It is specific, concise, and directly reflects the primary purpose of the changeset (12 new documentation files for the tutorial series).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch DOC-896

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🧹 Nitpick comments (2)
site/content/agentic-ai-suite/tutorials/nordweave/importing-data.md (1)

19-19: 💤 Low value

Use descriptive link text instead of "here".

Link text should describe the destination. Consider replacing "here" with descriptive text.

♻️ Proposed refinement
-You can grab the dataset files from [here](../ordweave-dataset) before
+You can grab the [Nordweave dataset files](../nordweave-dataset) before
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@site/content/agentic-ai-suite/tutorials/nordweave/importing-data.md` at line
19, The link uses non-descriptive text "[here]"; update the link text to
describe the destination (e.g., "the Nordweave dataset" or "Nordweave dataset
files") so the sentence reads like "You can grab the Nordweave dataset files
from the Nordweave dataset before…" and replace the existing
[here](../ordweave-dataset) anchor with a descriptive label to improve
accessibility and clarity.
site/content/agentic-ai-suite/tutorials/nordweave/_index.md (1)

54-54: 💤 Low value

Use descriptive link text instead of "here".

Link text should describe the destination. Consider replacing "here" with descriptive text like "the Nordweave dataset files" or "this location".

♻️ Proposed refinement
-[here](../nordweave-dataset). The part that matters for the first chapter is
+the [Nordweave dataset files](../nordweave-dataset). The part that matters for the first chapter is
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@site/content/agentic-ai-suite/tutorials/nordweave/_index.md` at line 54,
Replace the ambiguous link text "[here](../ordweave-dataset)" with descriptive
link text that explains the destination (for example "the Nordweave dataset
files" or "the Nordweave dataset"), so update the markdown fragment containing
"[here](../ordweave-dataset)" to something like "the Nordweave dataset files
(../ordweave-dataset)" ensuring the link remains the same but the anchor text is
descriptive.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@site/content/agentic-ai-suite/tutorials/nordweave/_index.md`:
- Line 54: The link in the Markdown line currently points to
"../ordweave-dataset" which contains a typo; update the URL to
"../nordweave-dataset" so the dataset download link points to the correct
"nordweave-dataset" page (edit the link target text in the line containing
"[here](../ordweave-dataset)" in
site/content/agentic-ai-suite/tutorials/nordweave/_index.md).

In `@site/content/agentic-ai-suite/tutorials/nordweave/canvas-actions.md`:
- Around line 141-147: The ALL_SHORTEST_PATHS query assumes exactly two selected
nodes but never validates `@nodes`; before using LET nodeList = `@nodes` and
assigning LET startNode = nodeList[0] / LET endNode = nodeList[1], add a guard
that checks nodeList.length === 2 and if not either surface a user-visible
error/notification or abort the action (no-op), ensuring the shortest-path query
(ALL_SHORTEST_PATHS) only runs when two nodes are selected; reference the
nodeList, startNode, endNode and ALL_SHORTEST_PATHS symbols when implementing
this validation.

In `@site/content/agentic-ai-suite/tutorials/nordweave/graph-visualizer.md`:
- Around line 57-71: The named-graph definition for nordweave_catalog is missing
several relation edges used later (e.g., affected_by, similar_to and any other
relations referenced in Chapters 2.2/2.3); update the relations list in the
markdown snippet (the block defining `nordweave_catalog`) and the mirrored
`arangosh` snippet to include those missing edge definitions (use the same edge
format as the existing ones like `belongs_to_category`, `sold_as_brand`, etc.),
ensuring the exact relation names `affected_by` and `similar_to` (and any other
relations referenced later) are added so downstream examples that reference
those edge collections will work.
- Around line 16-29: The phrasing “one per page” is inconsistent with the listed
items; update the paragraph so the page references are accurate by either
removing “one per page” or by assigning the correct “(this page)” marker only to
the first item (Opening the Nordweave graph in the Graph Visualizer) and
removing “(this page)” from “Reading the relationships,” then ensure the final
sentence clearly states that after those four topics the tutorial concludes with
the separate Ada page (meeting-ada.md); adjust the list entries for “Opening the
Nordweave graph in the Graph Visualizer,” “Reading the relationships,” “Building
custom themes,” and “Writing Canvas Actions” to reflect their actual page scopes
so the progression is unambiguous.

In `@site/content/agentic-ai-suite/tutorials/nordweave/importing-data.md`:
- Line 19: Update the broken dataset link in the markdown by fixing the typo
"ordweave-dataset" to "nordweave-dataset" wherever it appears (e.g., in
importing-data.md and the related _index.md reference); locate the anchor text
"You can grab the dataset files from [here](../ordweave-dataset)" and replace
the URL segment to "../nordweave-dataset" so the link points to the correct
dataset folder.

---

Nitpick comments:
In `@site/content/agentic-ai-suite/tutorials/nordweave/_index.md`:
- Line 54: Replace the ambiguous link text "[here](../ordweave-dataset)" with
descriptive link text that explains the destination (for example "the Nordweave
dataset files" or "the Nordweave dataset"), so update the markdown fragment
containing "[here](../ordweave-dataset)" to something like "the Nordweave
dataset files (../ordweave-dataset)" ensuring the link remains the same but the
anchor text is descriptive.

In `@site/content/agentic-ai-suite/tutorials/nordweave/importing-data.md`:
- Line 19: The link uses non-descriptive text "[here]"; update the link text to
describe the destination (e.g., "the Nordweave dataset" or "Nordweave dataset
files") so the sentence reads like "You can grab the Nordweave dataset files
from the Nordweave dataset before…" and replace the existing
[here](../ordweave-dataset) anchor with a descriptive label to improve
accessibility and clarity.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0480d8e7-337d-446f-96e6-95f1f73d91f9

📥 Commits

Reviewing files that changed from the base of the PR and between 64b9cb0 and 12c9447.

⛔ Files ignored due to path filters (4)
  • site/content/images/nordweave-tutorial-customer-journey.png is excluded by !**/*.png
  • site/content/images/nordweave-tutorial-org-chart.png is excluded by !**/*.png
  • site/content/images/nordweave-tutorial-product-star.png is excluded by !**/*.png
  • site/content/images/nordweave-tutorial-supply-chain.png is excluded by !**/*.png
📒 Files selected for processing (8)
  • site/content/agentic-ai-suite/tutorials/_index.md
  • site/content/agentic-ai-suite/tutorials/nordweave/_index.md
  • site/content/agentic-ai-suite/tutorials/nordweave/canvas-actions.md
  • site/content/agentic-ai-suite/tutorials/nordweave/custom-themes.md
  • site/content/agentic-ai-suite/tutorials/nordweave/graph-visualizer.md
  • site/content/agentic-ai-suite/tutorials/nordweave/importing-data.md
  • site/content/agentic-ai-suite/tutorials/nordweave/oneshard-databases.md
  • site/content/agentic-ai-suite/tutorials/nordweave/satellitegraphs.md

documents on one side, ready-to-load edges on the other.

You can download the dataset files used throughout this tutorial from
[here](../ordweave-dataset). The part that matters for the first chapter is

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Fix typo in dataset download link.

The link URL contains a typo: ordweave-dataset should be nordweave-dataset (missing "N").

🐛 Proposed fix
-[here](../ordweave-dataset). The part that matters for the first chapter is
+[here](../nordweave-dataset). The part that matters for the first chapter is
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
[here](../ordweave-dataset). The part that matters for the first chapter is
[here](../nordweave-dataset). The part that matters for the first chapter is
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)

[warning] 54-54: Link text should be descriptive

(MD059, descriptive-link-text)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@site/content/agentic-ai-suite/tutorials/nordweave/_index.md` at line 54, The
link in the Markdown line currently points to "../ordweave-dataset" which
contains a typo; update the URL to "../nordweave-dataset" so the dataset
download link points to the correct "nordweave-dataset" page (edit the link
target text in the line containing "[here](../ordweave-dataset)" in
site/content/agentic-ai-suite/tutorials/nordweave/_index.md).

Comment on lines +141 to +147
LET nodeList = @nodes
LET startNode = nodeList[0]
LET endNode = nodeList[1]
FOR p IN ALL_SHORTEST_PATHS startNode TO endNode
GRAPH "nordweave_catalog"
LIMIT 20
RETURN p

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Guard ALL_SHORTEST_PATHS action against invalid selection size.

Line 141-147 assumes two selected nodes but does not enforce it. If selection size is not exactly 2, the action can fail or behave unpredictably.

Suggested query hardening
 LET nodeList = `@nodes`
-LET startNode = nodeList[0]
-LET endNode = nodeList[1]
-FOR p IN ALL_SHORTEST_PATHS startNode TO endNode
+FILTER LENGTH(nodeList) == 2
+FOR p IN ALL_SHORTEST_PATHS nodeList[0] TO nodeList[1]
   GRAPH "nordweave_catalog"
   LIMIT 20
   RETURN p
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
LET nodeList = @nodes
LET startNode = nodeList[0]
LET endNode = nodeList[1]
FOR p IN ALL_SHORTEST_PATHS startNode TO endNode
GRAPH "nordweave_catalog"
LIMIT 20
RETURN p
LET nodeList = `@nodes`
FILTER LENGTH(nodeList) == 2
FOR p IN ALL_SHORTEST_PATHS nodeList[0] TO nodeList[1]
GRAPH "nordweave_catalog"
LIMIT 20
RETURN p
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@site/content/agentic-ai-suite/tutorials/nordweave/canvas-actions.md` around
lines 141 - 147, The ALL_SHORTEST_PATHS query assumes exactly two selected nodes
but never validates `@nodes`; before using LET nodeList = `@nodes` and assigning LET
startNode = nodeList[0] / LET endNode = nodeList[1], add a guard that checks
nodeList.length === 2 and if not either surface a user-visible
error/notification or abort the action (no-op), ensuring the shortest-path query
(ALL_SHORTEST_PATHS) only runs when two nodes are selected; reference the
nodeList, startNode, endNode and ALL_SHORTEST_PATHS symbols when implementing
this validation.

unstructured PDFs, Markdown, or plain text. For now, the spine is structured
JSONL, so this chapter uses the workhorse import tool: `arangoimport`.

You can grab the dataset files from [here](../ordweave-dataset) before

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Fix typo in dataset download link.

The link URL contains a typo: ordweave-dataset should be nordweave-dataset (missing "N"). This is the same typo found in _index.md line 54.

🐛 Proposed fix
-You can grab the dataset files from [here](../ordweave-dataset) before
+You can grab the dataset files from [here](../nordweave-dataset) before
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
You can grab the dataset files from [here](../ordweave-dataset) before
You can grab the dataset files from [here](../nordweave-dataset) before
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)

[warning] 19-19: Link text should be descriptive

(MD059, descriptive-link-text)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@site/content/agentic-ai-suite/tutorials/nordweave/importing-data.md` at line
19, Update the broken dataset link in the markdown by fixing the typo
"ordweave-dataset" to "nordweave-dataset" wherever it appears (e.g., in
importing-data.md and the related _index.md reference); locate the anchor text
"You can grab the dataset files from [here](../ordweave-dataset)" and replace
the URL segment to "../nordweave-dataset" so the link points to the correct
dataset folder.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/canvas-actions.md (1)

141-147: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Guard shortest-path action with exact two-node validation.

Line 141-147 still assumes two selected nodes without enforcing it. Add a guard so the action only runs when @nodes has exactly two IDs.

Suggested hardening
 LET nodeList = `@nodes`
-LET startNode = nodeList[0]
-LET endNode = nodeList[1]
-FOR p IN ALL_SHORTEST_PATHS startNode TO endNode
+FILTER LENGTH(nodeList) == 2
+FOR p IN ALL_SHORTEST_PATHS nodeList[0] TO nodeList[1]
   GRAPH "nordweave_catalog"
   LIMIT 20
   RETURN p
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/canvas-actions.md`
around lines 141 - 147, The action assumes two selected nodes but doesn't
validate `@nodes`; update the code that builds nodeList/startNode/endNode to first
check that `@nodes` contains exactly two IDs and abort or show an error if not
(e.g., guard early when `@nodes.length` !== 2), then only set startNode =
nodeList[0] and endNode = nodeList[1] and run the FOR p IN ALL_SHORTEST_PATHS
... block when the check passes.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/custom-themes.md`:
- Around line 121-137: The Editorial View theme references undefined graph
collections: add a vertex collection named influencers with attributes
follower_count and handle, and add edge collections ENDORSED_BY and FEATURED_IN
to the graph definition so the theme's rules (size by follower_count, label by
handle, and the two edge styles) resolve; alternatively, mark the "Editorial
View" theme as optional/advanced in the tutorial and document the supplemental
setup steps required (creating influencers, ENDORSED_BY, FEATURED_IN and mapping
follower_count/handle) so readers can follow the theme.

---

Duplicate comments:
In
`@site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/canvas-actions.md`:
- Around line 141-147: The action assumes two selected nodes but doesn't
validate `@nodes`; update the code that builds nodeList/startNode/endNode to first
check that `@nodes` contains exactly two IDs and abort or show an error if not
(e.g., guard early when `@nodes.length` !== 2), then only set startNode =
nodeList[0] and endNode = nodeList[1] and run the FOR p IN ALL_SHORTEST_PATHS
... block when the check passes.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b172783d-841e-4b67-b9cd-a8c9e250741a

📥 Commits

Reviewing files that changed from the base of the PR and between 12c9447 and 6cce3dd.

📒 Files selected for processing (9)
  • site/content/agentic-ai-suite/tutorials/_index.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/canvas-actions.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/custom-themes.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graph-visualizer.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/importing-data.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/meeting-ada.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/oneshard-databases.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/satellitegraphs.md

@Simran-B Simran-B changed the title DOC-896 DOC-896 | End-to-end agentic AI tutorial May 20, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md`:
- Around line 108-109: The stated "About 57k nodes" is inconsistent with the
vertex collections sum; re-check the intended node set and either correct the
total to ~174,604 or explicitly state which collections were excluded from the
count (e.g., exclude orders, returns, reviews, customers, etc.). Update the
sentence in _index.md to reflect the verified number or add a parenthetical
clarifying which collections are counted, and ensure the list of vertex
collections (brands, categories, collections, customers, employees, influencers,
materials, orders, products, returns, reviews, stores, style_tags, suppliers,
teams) is used as the authoritative source when recalculating the node count.

In
`@site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/autograph-knowledge-domains.md`:
- Line 10: Replace the ambiguous link text "[previous chapter]" in
autograph-knowledge-domains.md with a clearer reference to the GraphRAG chapter
by changing the sentence to one of the suggested phrasings (e.g., "The [GraphRAG
chapter](graphrag-over-reviews.md) built a single knowledge graph..." or
"Earlier, you built a single knowledge graph from a single corpus ([see
GraphRAG](graphrag-over-reviews.md))."); update the link text token "[previous
chapter]" so readers understand it points specifically to
graphrag-over-reviews.md rather than implying it is the immediately preceding
chapter.

In
`@site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graphrag-over-reviews.md`:
- Around line 17-23: The tutorial chapter graphrag-over-reviews.md asserts exact
dataset counts (29,897 reviews, 200 supplier audits, 80 incident post-mortems)
that only partially appear on the landing _index.md; reconcile them by either
adding the missing counts (200 and 80) to
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md
under the unstructured/ or by editing graphrag-over-reviews.md to remove or
generalize the specific numeric claims (keep only the confirmed 29,897 if you
prefer); update the text lines referencing "29,897", "200", and "80" accordingly
so both files remain consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f5e2ada9-4196-4f43-ac02-fa0c52cd44c0

📥 Commits

Reviewing files that changed from the base of the PR and between 6cce3dd and 9042af9.

📒 Files selected for processing (13)
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/agentic-merchandiser.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/autograph-knowledge-domains.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/canvas-actions.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/custom-themes.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graph-analytics.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graph-visualizer.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graphml-predictions.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graphrag-over-reviews.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/importing-data.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/meeting-ada.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/oneshard-databases.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/satellitegraphs.md
✅ Files skipped from review due to trivial changes (9)
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/agentic-merchandiser.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graphml-predictions.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/custom-themes.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/oneshard-databases.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/satellitegraphs.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graph-visualizer.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/meeting-ada.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/importing-data.md
  • site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/canvas-actions.md

Comment on lines +108 to +109
About **57k nodes and ~750k edges** in total - small enough to fit on a
single DB-Server, large enough to make sharding decisions matter. A few

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Verify the node count calculation.

The text states "About 57k nodes" but summing the vertex collections table yields approximately 174,604 records:

  • brands (80) + categories (50) + collections (42) + customers (20,000) + employees (410) + influencers (100) + materials (54) + orders (100,976) + products (5,000) + returns (16,699) + reviews (29,897) + stores (41) + style_tags (105) + suppliers (120) + teams (30) = 174,604

This is a significant discrepancy. Please verify the intended node count or clarify if certain collections are excluded from the node count calculation.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md`
around lines 108 - 109, The stated "About 57k nodes" is inconsistent with the
vertex collections sum; re-check the intended node set and either correct the
total to ~174,604 or explicitly state which collections were excluded from the
count (e.g., exclude orders, returns, reviews, customers, etc.). Update the
sentence in _index.md to reflect the verified number or add a parenthetical
clarifying which collections are counted, and ensure the list of vertex
collections (brands, categories, collections, customers, employees, influencers,
materials, orders, products, returns, reviews, stores, style_tags, suppliers,
teams) is used as the authoritative source when recalculating the node count.

and assign each one its own RAG strategy, then retrieve across partitions
---

The [previous chapter](graphrag-over-reviews.md) built a single knowledge graph

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Clarify "previous chapter" reference to avoid navigation confusion.

The link text "[previous chapter]" points to graphrag-over-reviews.md, but according to the tutorial dependency structure, that chapter appears much earlier in the series (after Chapter 1.1), while this AutoGraph chapter depends on Chapter 2.4 (meeting-ada.md). Readers following the tutorial sequentially will have encountered several chapters between GraphRAG and AutoGraph, making "previous chapter" misleading.

Consider rewording to clarify the relationship, for example: "The GraphRAG chapter built a single knowledge graph..." or "Earlier, you built a single knowledge graph from a single corpus (see GraphRAG)."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/autograph-knowledge-domains.md`
at line 10, Replace the ambiguous link text "[previous chapter]" in
autograph-knowledge-domains.md with a clearer reference to the GraphRAG chapter
by changing the sentence to one of the suggested phrasings (e.g., "The [GraphRAG
chapter](graphrag-over-reviews.md) built a single knowledge graph..." or
"Earlier, you built a single knowledge graph from a single corpus ([see
GraphRAG](graphrag-over-reviews.md))."); update the link text token "[previous
chapter]" so readers understand it points specifically to
graphrag-over-reviews.md rather than implying it is the immediately preceding
chapter.

Comment on lines +17 to +23
- **29,897 customer reviews** - "the coral is way more washed-out than in the
photos", "pilled badly after the first wear", "runs generous, could have
sized down".
- **200 supplier audits** - factory inspection write-ups, fair-labor findings,
fabric-defect rates.
- **80 incident post-mortems** - "the SS24 selvedge run shrank two sizes after
the first wash; root cause traced to supplier `supp_0000`".

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Extract dataset statistics from the landing page and compare with this chapter.

# Extract numbers from the landing page
rg -n "reviews?|audits?|post-mortems?|incident" site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md -C2

Repository: arangodb/docs-hugo

Length of output: 2085


🏁 Script executed:

#!/bin/bash
set -euo pipefail

FILE="site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md"

echo "== Matches for audit =="
rg -n "audit" "$FILE" -C3 || true

echo
echo "== Matches for post-mortem =="
rg -n "post-?mortem" "$FILE" -C3 || true

echo
echo "== Matches for supplier/incident counts (numeric patterns near keywords) =="
rg -n "(supplier|incident).{0,80}([0-9]{1,3},[0-9]{3}|[0-9]{1,6})" "$FILE" -C1 || true

echo
echo "== Any rows in tables that include supplier/incident =="
rg -n "\|\s*(supplier|incident|post|audit)[^|]*\|" "$FILE" -C2 || true

Repository: arangodb/docs-hugo

Length of output: 2772


🏁 Script executed:

#!/bin/bash
set -euo pipefail

FILE="site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md"

echo "== Context around reviews row (29,897) =="
rg -n "reviews\s*\|\s*29,897|reviewed\s*\|\s*29,897" "$FILE" -C5 || true

echo
echo "== Context around unstructured/ description (supplier audits, incident post-mortems) =="
rg -n "unstructured/|supplier audits|incident post-mortems" "$FILE" -C10 || true

echo
echo "== Search for explicit counts near audits/post-mortems keywords =="
rg -n "audits?|post-?mortems?|incidents?" "$FILE" -C10 || true

echo
echo "== Search for standalone 200 and 80 in same vicinity of audit/post-mortem terms =="
rg -n "200|80" "$FILE" -C3 || true

Repository: arangodb/docs-hugo

Length of output: 6244


🏁 Script executed:

#!/bin/bash
set -euo pipefail

FILE="site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md"

# Look for likely collection/table identifiers
rg -n "(supplier[_ -]?audits|supplier[_ -]?audit|supplierAudit|audits?_?json|audit[_ -]?post|incident[_ -]?post[_ -]?mortem|post[_ -]?mortem|post[_ -]?mortems|incident[_ -]?post[_ -]?mortems)" "$FILE" -i -C3 || true

echo
echo "== Any numeric counts on/near 'incident' or 'audit' (to catch 200/80) =="
rg -n "(incident|audit)" "$FILE" -C8 | rg -n "([0-9]{1,3},)?[0-9]{1,3}" || true

echo
echo "== Look for table rows that contain 'audit' or 'mortem' =="
rg -n "\|\s*[^|]*(audit|audits|mortem|post-mortem|postmortem|post-mortems)[^|]*\|" "$FILE" -i -C2 || true

Repository: arangodb/docs-hugo

Length of output: 3520


🏁 Script executed:

#!/bin/bash
set -euo pipefail

FILE="site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md"

echo "== File line count =="
wc -l "$FILE"

echo
echo "== Section around the records table (near reviews=29,897) =="
rg -n "\|\s*reviews\s*\|\s*29,897\s*\|" "$FILE" -n
# Print a window around the first match line number
LINE="$(rg -n "\|\s*reviews\s*\|\s*29,897\s*\|" "$FILE" | head -n1 | cut -d: -f1)"
START=$((LINE-20))
END=$((LINE+20))
sed -n "${START},${END}p" "$FILE" | nl -ba

echo
echo "== Any explicit '200' mentions in the file =="
rg -n "200" "$FILE" -C2 || true

echo
echo "== Any explicit '80' mentions in the file =="
rg -n "80" "$FILE" -C2 || true

echo
echo "== Any table rows containing 'audit'/'audits'/'mortem'/'post-mortem' =="
rg -n "\|\s*[^|]*(audit|audits|mortem|post-mortem|postmortem|post-mortems|incident)\s*[^|]*\|\s*[0-9]" "$FILE" -i || true

Repository: arangodb/docs-hugo

Length of output: 366


🏁 Script executed:

#!/bin/bash
set -euo pipefail

FILE="site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md"

echo "== Segment around records table (lines 60-105) =="
sed -n '60,105p' "$FILE" | cat -n

echo
echo "== Any explicit '200' mentions =="
rg -n "200" "$FILE" -C2 || true

echo
echo "== Any explicit '80' mentions =="
rg -n "80" "$FILE" -C2 || true

echo
echo "== Lines containing post-mortem / mortems =="
rg -n "post-?mortems?|incident" "$FILE" -C5 || true

echo
echo "== Lines containing 'supplier audits' =="
rg -n "supplier audits|audits" "$FILE" -C5 || true

Repository: arangodb/docs-hugo

Length of output: 5481


Fix dataset-stat consistency in graphrag-over-reviews.md

  • 29,897 customer reviews matches the reviews record count in site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md.
  • 200 supplier audits and 80 incident post-mortems are not stated anywhere in that _index.md (they’re only referenced under the unstructured/ description), so the tutorial’s specific counts can’t be reconciled with the landing page—either add those counts to _index.md or revise this chapter to avoid asserting exact numbers.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/graphrag-over-reviews.md`
around lines 17 - 23, The tutorial chapter graphrag-over-reviews.md asserts
exact dataset counts (29,897 reviews, 200 supplier audits, 80 incident
post-mortems) that only partially appear on the landing _index.md; reconcile
them by either adding the missing counts (200 and 80) to
site/content/agentic-ai-suite/tutorials/from-postgresql-to-graph-powered-catalog/_index.md
under the unstructured/ or by editing graphrag-over-reviews.md to remove or
generalize the specific numeric claims (keep only the confirmed 29,897 if you
prefer); update the text lines referencing "29,897", "200", and "80" accordingly
so both files remain consistent.

@pratham-ara pratham-ara left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review from running the tutorial end-to-end against a 3.12.9 Enterprise cluster plus verification against the current service code. Inline comments below, tagged blocking / should-fix / nit. The blocking items (SatelliteGraph-in-OneShard, and the two broken Canvas Action queries) were reproduced live on a cluster.

LET nodeList = @nodes
LET startNode = nodeList[0]
LET endNode = nodeList[1]
FOR p IN ALL_SHORTEST_PATHS startNode TO endNode

@pratham-ara pratham-ara Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Syntax error. ALL_SHORTEST_PATHS requires a direction keyword. As written this fails with ArangoError 1501: syntax error … unexpected ALL_SHORTEST_PATHS (reproduced on a 3.12.9 cluster). Fix:

FOR p IN ANY ALL_SHORTEST_PATHS startNode TO endNode GRAPH "nordweave_catalog"


```aql
FOR cust IN @nodes
FOR product, e, p IN 1..1 OUTBOUND cust returned

@pratham-ara pratham-ara Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On a cluster/OneShard deployment (this tutorial's premise), a traversal over a bare edge collection needs a WITH clause declaring the vertex collections it touches. As written this errors: ArangoError 1521: collection not known to traversal: 'products'. please add 'WITH …' (reproduced live). Prefix with WITH customers, products. Action 1 works only because it uses the named GRAPH; the bare-collection actions don't.

Comment on lines +70 to +78
FOR v, e IN 1..1 OUTBOUND prod made_of
RETURN { vertex: v, edge: e }
)
LET supplier = (
FOR v, e IN 1..1 OUTBOUND prod manufactured_by
RETURN { vertex: v, edge: e }
)
LET incidents = (
FOR v, e IN 1..1 OUTBOUND prod affected_by

@pratham-ara pratham-ara Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two issues: (1) same missing-WITH problem as Action 4 — add WITH materials, suppliers, … or this errors on a cluster. (2) affected_by (line 78) isn't an edge collection in this dataset or in the nordweave_catalog definition — this LET returns nothing. Add it to the dataset + graph, or remove it.

Comment on lines +90 to +99
Select a product. Find products connected via the `similar_to`
relationship and pull in their review data.

- **Name:** Similar Products + Reviews
- **Description:** Select a product to find similar items and see who
reviewed them.

```aql
FOR prod IN @nodes
FOR similar, e IN 1..1 ANY prod similar_to

@pratham-ara pratham-ara Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar_to isn't defined anywhere in the dataset or the named graph, and this is again a bare-collection traversal missing WITH. This action can't run as shown.

Comment on lines +65 to +69
const orgChart = sat._create("org_chart", [
sat._relation("manages", ["employees"], ["employees"]),
sat._relation("member_of", ["employees"], ["teams"]),
sat._relation("leads", ["employees"], ["teams"]),
sat._relation("works_at", ["employees"], ["stores"])

@pratham-ara pratham-ara Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking. This builds the SatelliteGraph inside the nordweave database, which the previous chapter made OneShard ({sharding:"single"}). Tested on a 3.12.9 Enterprise cluster: you cannot create a SatelliteGraph inside a OneShard database — the replicationFactor:"satellite" request is silently downgraded to a numeric factor (got rf=2) with no error or warning, so org_chart here is not actually a satellite. Control test: the identical call in a non-OneShard DB correctly returns replicationFactor:"satellite". OneShard (pin everything to one DB-Server) and SatelliteGraph (replicate to every DB-Server) are mutually exclusive by design. Fix: put the org-chart collections in a separate, non-OneShard database.

Comment on lines +220 to +222
Supplier -->|AUDITED_IN| SupplierAudit
Product -->|MADE_OF| Material
Product -->|AFFECTED_BY| Incident

@pratham-ara pratham-ara Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AUDITED_IN and AFFECTED_BY appear in this diagram but aren't among the dataset's edge collections or the nordweave_catalog definition shown earlier on this page. Add them to the dataset/graph or remove them from the diagram.

- `MADE_OF` edges: set the label to `pct` so you can see "75%" along the
edge line. You will immediately spot which material dominates a
product's composition.
- `AFFECTED_BY` edges: color these red with increased thickness. If a

@pratham-ara pratham-ara Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFFECTED_BY isn't a collection in the dataset/graph, so this theme rule matches nothing.

Comment on lines +135 to +136
- `ENDORSED_BY` edges: Color: a standout pink or coral. Thickness: 3.
- `FEATURED_IN` edges: Color: gold. These connect products to lookbooks.

@pratham-ara pratham-ara Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ENDORSED_BY and FEATURED_IN (and the influencers relationships they imply) aren't defined in the dataset's edge collections or the named graph. These styling examples reference relationships that don't exist in the tutorial's data.

*Corpus Graph*, the map of your knowledge.
3. **Assigns each domain a RAG strategy** via the RAG Strategizer.
4. **Builds a specialized partition** per domain.
5. **Routes queries** to the partitions that actually hold the answer.

@pratham-ara pratham-ara Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified against the latest code (graphrag_retrievers main + autograph origin/main): AutoGraph does not route queries — it exposes no retrieval/routing endpoint, and its partition_ids field only controls which partitions get built/orchestrated. The Retriever never auto-selects partitions either. Suggest rewording to "assigns each domain its own partition" and dropping the query-routing claim.

Comment on lines +85 to +89
the standalone GraphRAG case. It uses a **two-stage retrieval pattern**:

1. **Identify the relevant partitions** for the question (which domains could
possibly hold the answer).
2. **Deep-search within them**, using `partition_ids` to target only those

@pratham-ara pratham-ara Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Step 1 ("identify the relevant partitions") is not done by the platform. Confirmed in the latest code: partition_ids is read only from the request and is never computed; if omitted, the Retriever searches all partitions with no routing. The caller/agent must determine the partitions itself. Please reword so it's clear this is the agent's/caller's responsibility (e.g. "your agent decides which partitions are relevant, then passes them as partition_ids") rather than an automatic two-stage retrieval the Retriever performs.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants