Skip to content

Python: Adds sample documentation for two separate Neo4j context providers for retrieval and memory#4010

Merged
westey-m merged 18 commits intomicrosoft:mainfrom
neo4j-partners:docs/neo4j-context-provider
Apr 7, 2026
Merged

Python: Adds sample documentation for two separate Neo4j context providers for retrieval and memory#4010
westey-m merged 18 commits intomicrosoft:mainfrom
neo4j-partners:docs/neo4j-context-provider

Conversation

@retroryan
Copy link
Copy Markdown
Contributor

Summary

Adds sample documentation for two separate Neo4j context providers for retrieval and memory. These providers serve distinct roles in the agent architecture:

  • Retrieval (neo4j_rag/) — Read-only RAG provider that queries pre-existing Neo4j knowledge bases with vector, fulltext, or hybrid search and optional graph traversal enrichment
  • Memory (neo4j_memory/) — Read-write memory provider that stores conversations, extracts entities into a knowledge graph, and learns user preferences across sessions

Changes

  • Added neo4j_rag/README.md — Retrieval provider: graph-enhanced RAG with vector, fulltext, and hybrid search
  • Added neo4j_memory/README.md — Memory provider: persistent agent memory with knowledge graph building and memory tools

Links

Copilot AI review requested due to automatic review settings February 17, 2026 19:06
@markwallace-microsoft markwallace-microsoft added documentation Improvements or additions to documentation python labels Feb 17, 2026
@github-actions github-actions Bot changed the title Adds sample documentation for two separate Neo4j context providers for retrieval and memory Python: Adds sample documentation for two separate Neo4j context providers for retrieval and memory Feb 17, 2026
@retroryan retroryan closed this Feb 17, 2026
@retroryan retroryan reopened this Feb 17, 2026
@retroryan retroryan marked this pull request as draft February 17, 2026 19:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds sample documentation under the Python samples tree to explain two Neo4j-backed context providers—one intended for read-only retrieval (RAG) and one intended for read-write persistent memory—so users can understand setup, configuration, and usage at a glance.

Changes:

  • Added a README for the Neo4j RAG (retrieval) context provider sample folder.
  • Added a README for the Neo4j Memory (persistent memory) context provider sample folder.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.

File Description
python/samples/02-agents/context_providers/neo4j_rag/README.md Documents intended Neo4j retrieval/RAG provider usage, configuration, and search modes.
python/samples/02-agents/context_providers/neo4j_memory/README.md Documents intended Neo4j agent-memory provider usage, tools, and conceptual differences vs RAG.

Comment thread python/samples/02-agents/context_providers/neo4j_memory/README.md Outdated
Comment thread python/samples/02-agents/context_providers/neo4j_memory/README.md Outdated
Comment thread python/samples/02-agents/context_providers/neo4j_rag/README.md Outdated
Comment thread python/samples/02-agents/context_providers/neo4j_rag/README.md Outdated
Comment thread python/samples/02-agents/context_providers/neo4j_rag/README.md Outdated
Comment thread python/samples/02-agents/context_providers/neo4j_rag/README.md Outdated
Comment thread python/samples/02-agents/context_providers/neo4j_memory/README.md Outdated
@retroryan retroryan force-pushed the docs/neo4j-context-provider branch from 81102e9 to b3dc3b5 Compare February 18, 2026 03:33
@markwallace-microsoft markwallace-microsoft added .NET workflows Related to Workflows in agent-framework labels Feb 18, 2026
@github-actions github-actions Bot changed the title Python: Adds sample documentation for two separate Neo4j context providers for retrieval and memory .NET: Python: Adds sample documentation for two separate Neo4j context providers for retrieval and memory Feb 18, 2026
@retroryan retroryan force-pushed the docs/neo4j-context-provider branch from b3dc3b5 to e32830b Compare February 18, 2026 03:40
@retroryan retroryan changed the title .NET: Python: Adds sample documentation for two separate Neo4j context providers for retrieval and memory Python: Adds sample documentation for two separate Neo4j context providers for retrieval and memory Feb 18, 2026
@retroryan retroryan force-pushed the docs/neo4j-context-provider branch from e32830b to 8c103de Compare February 18, 2026 03:48
@retroryan retroryan marked this pull request as ready for review February 27, 2026 16:09
Comment thread python/samples/02-agents/context_providers/neo4j/README.md
@retroryan
Copy link
Copy Markdown
Contributor Author

Thanks for the review feedback! Comments 1–7 have been addressed in the latest commits (tables fixed, ChatAgentAgent API, missing imports added, etc.).

Regarding the request for runnable samples — the Python samples live in their respective project repos rather than being duplicated here:

Lab & code examples:

Neo4j Memory:

Neo4j GraphRAG Provider:

We'll look into .NET samples separately.

@westey-m westey-m enabled auto-merge April 3, 2026 09:57
Comment thread python/samples/02-agents/context_providers/neo4j/README.md Outdated
Comment thread python/samples/02-agents/context_providers/neo4j/README.md Outdated
auto-merge was automatically disabled April 6, 2026 01:53

Head branch was pushed to by a user without write access

@retroryan
Copy link
Copy Markdown
Contributor Author

@westey-m - fixed the relative paths. Thanks for your patience!

@westey-m westey-m added this pull request to the merge queue Apr 7, 2026
Merged via the queue into microsoft:main with commit 090b88a Apr 7, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation .NET python workflows Related to Workflows in agent-framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants