diff --git a/modules/ROOT/content-nav.adoc b/modules/ROOT/content-nav.adoc index a85501ede..796075f81 100644 --- a/modules/ROOT/content-nav.adoc +++ b/modules/ROOT/content-nav.adoc @@ -1,7 +1,6 @@ //// Generic Start //// -* Neo4j Aura * Introduction ** xref:index.adoc[About Aura] @@ -9,6 +8,8 @@ Generic Start ** xref:microsoft-fabric.adoc[Workload for Microsoft Fabric] ** xref:visual-tour/index.adoc[Visual tour] +* xref:graph-rag.adoc[GraphRAG] + * xref:graph-analytics/index.adoc[] * Quick start diff --git a/modules/ROOT/images/chunks_in_rag.png b/modules/ROOT/images/chunks_in_rag.png new file mode 100644 index 000000000..9dbc30cfd Binary files /dev/null and b/modules/ROOT/images/chunks_in_rag.png differ diff --git a/modules/ROOT/images/env.png b/modules/ROOT/images/env.png new file mode 100644 index 000000000..9b1a5d5c9 Binary files /dev/null and b/modules/ROOT/images/env.png differ diff --git a/modules/ROOT/pages/graph-rag.adoc b/modules/ROOT/pages/graph-rag.adoc new file mode 100644 index 000000000..3204b3719 --- /dev/null +++ b/modules/ROOT/pages/graph-rag.adoc @@ -0,0 +1,76 @@ += GraphRAG + +* Make your LLMs smarter using knowledge graphs +* This isn't easily achievable via traditional relational DBs, a graph database is required for this. +* Relationships change everything. + +== Talk with data + +* You could achieve cost savings. +Using GraphRAG means you could save money on your system, getting less token cost for better query results. + +* A mix between structured, unstructured and semi-structured information often occurs in real-world use cases when looking for data to back a language model - and it's something that knowledge graph, specifically Neo4j, supports really well when compared to other solutions for RAG on the market. + +* Explainability is so important. + +== Why Aura + +Neo4j Aura provides a fully managed cloud service for building and running GraphRAG workloads and AI agents. + +Aura eliminates the operational overhead of deploying and maintaining a Neo4j cluster, letting you focus on model integration and retrieval accuracy. + +It's recommended you start out with a Free (it's good to try stuff out) or Professional instance (you can get a 2 week trial without adding card details). + +GraphRAG enables you to relationships and bring together diverse information sources, into one knowledge base. + +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.* + +== GraphRAG Python Package + +Explore these resources to learn more and experiment with GraphRAG and related tools: + +link:https://neo4j.com/developer/genai-ecosystem/graphrag-python[GraphRAG Python Package] A library that allows building GenAI applications. + +link:https://www.youtube.com/watch?v=hDJlruy60AM[Walkthrough video] A guided demo of the workflow. + +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. + +The GraphRAG Python package is a great way to start experimenting with knowledge graphs and AI. + +You will see information from the PDFs populate your Aura instance. +Once your data is ingested, you can explore the indexed document chunks directly in Aura and explore the knowledge graph: + +image::chunks_in_rag.png[Viewing chunks in Aura] + +== Learning resources + +link:graphrag.com[graphrag.com] Curated resources and background on GraphRAG. + +link:https://neo4j.com/developer/genai-ecosystem/[Neo4j GenAI ecosystem] Overview of how Neo4j integrates with the wider generative AI landscape. + +link:https://graphacademy.neo4j.com/courses/llm-chatbot-python/[Graph Academy] Build an LLM Chatbot with Python in this free training course. + +== Open source tools + +https://llm-graph-builder.neo4jlabs.com[LLM Graph Builder demo] Hosted interface for experimenting without setup. + +https://github.com/neo4j-labs/llm-graph-builder/issues[LLM Graph Builder (GitHub)] Contribute or track development. + +== `.env` credentials + +When you create an instance, you'll download the connection details from the console. + +image::env.png[env example] + +Create a `.env` file in your project with the following format: + +[source,properties] +---- +NEO4J_URI=neo4j+s://.databases.neo4j.io +NEO4J_USERNAME=neo4j +NEO4J_PASSWORD= + +AI_API_KEY= +---- + +