|
| 1 | += GraphRAG |
| 2 | + |
| 3 | +== Talk with data |
| 4 | + |
| 5 | +* Make your LLMs smarter using knowledge graphs. |
| 6 | + |
| 7 | +* You could achieve cost savings. |
| 8 | +Using GraphRAG means you could save money on your system, getting less token cost for better query results. |
| 9 | + |
| 10 | +* Explainability is so important. |
| 11 | + |
| 12 | +Neo4j Aura provides a fully managed cloud service for building and running GraphRAG workloads and AI agents. |
| 13 | + |
| 14 | +Aura eliminates the operational overhead of deploying and maintaining a Neo4j cluster, letting you focus on model integration and retrieval accuracy. |
| 15 | + |
| 16 | +GraphRAG enables you to relationships and bring together diverse information sources, into one knowledge base. |
| 17 | +An example where GraphRAG is used integrated with LLMs and Cypher queries to retrieve and visualize relationships between data points *so you can talk with your data.* |
| 18 | + |
| 19 | +== GraphRAG Python Package |
| 20 | + |
| 21 | +Explore these resources to learn more and experiment with GraphRAG and related tools: |
| 22 | + |
| 23 | +link:https://neo4j.com/developer/genai-ecosystem/graphrag-python[GraphRAG Python Package] A library that allows building GenAI applications. |
| 24 | + |
| 25 | +link:https://www.youtube.com/watch?v=hDJlruy60AM[Walkthrough video] A guided demo of the workflow. |
| 26 | + |
| 27 | +https://github.com/neo4j-product-examples/graphrag-python-examples/blob/main/end-to-end-lupus.ipynb[Github - Example notebook] Step-by-step instructions for building with GraphRAG in Python that demonstrates a meta-analysis of Lupus, a disease that is notoriously difficult to diagnose. |
| 28 | + |
| 29 | +The GraphRAG Python package is a great way to start experimenting with knowledge graphs and AI. |
| 30 | +You will see information from the PDFs populate your Aura instance. |
| 31 | +Once your data is ingested, you can explore the indexed document chunks directly in Aura and explore the knowledge graph: |
| 32 | + |
| 33 | +image::chunks_in_rag.png[Viewing chunks in Aura] |
| 34 | + |
| 35 | +== Learning resources |
| 36 | + |
| 37 | +link:graphrag.com[graphrag.com] Curated resources and background on GraphRAG. |
| 38 | + |
| 39 | +link:https://neo4j.com/developer/genai-ecosystem/[Neo4j GenAI ecosystem] Overview of how Neo4j integrates with the wider generative AI landscape. |
| 40 | + |
| 41 | +link:https://graphacademy.neo4j.com/courses/llm-chatbot-python/[Graph Academy] Build an LLM Chatbot with Python — free, hands-on training course. |
| 42 | + |
| 43 | +== Open Source Tools |
| 44 | + |
| 45 | +https://llm-graph-builder.neo4jlabs.com[LLM Graph Builder demo] Hosted interface for experimenting without setup. |
| 46 | + |
| 47 | +https://github.com/neo4j-labs/llm-graph-builder/issues[LLM Graph Builder (GitHub)] Contribute or track development. |
| 48 | + |
| 49 | +== Key features |
| 50 | + |
| 51 | +* *Fully managed infrastructure*: No manual setup or maintenance is required. Aura automatically handles scaling, backups, and security patches. |
| 52 | +* *Always up to date*: Aura runs on the latest Neo4j version, with vector search, hybrid search, and other retrieval features available without manual upgrades. |
| 53 | +* *Integrated security*: Aura provides built-in authentication, role-based access control, and fine-grained security to ensure models can only access approved data. |
| 54 | +* *Pay-as-you-go pricing*: Scale compute and storage resources on demand. Aura is cost-effective for both experimentation and production workloads. |
| 55 | + |
| 56 | +== Configure your environment |
| 57 | + |
| 58 | +You can try this out with a free Aura instance. |
| 59 | +When you create an instance, download the connection details from the console. |
| 60 | + |
| 61 | +Create a `.env` file in your project with the following format: |
| 62 | + |
| 63 | +[source,properties] |
| 64 | +---- |
| 65 | +NEO4J_URI=neo4j+s://<dbid>.databases.neo4j.io |
| 66 | +NEO4J_USERNAME=neo4j |
| 67 | +NEO4J_PASSWORD=<password> |
| 68 | +
|
| 69 | +AI_API_KEY=<your-api-key> |
| 70 | +---- |
0 commit comments