RAG with a Neo4j Knowledge Graph: How it Works and How to Set It Up

preview_player
Показать описание
In this video, Philipp Brunenberg explains how RAG (retrieval augmented generation) with a Neo4j Knowledge Graph works and how we can set it up on your laptop. He’ll also give a brief introduction on how we can customize the code from the Gen-AI Stack.

We’ll cover:
What is RAG?
How does RAG with a Neo4j Knowledge Graph work?
What are the benefits of using RAG & Neo4j?
How can I set up RAG with Neo4j using a Llama2 model and the GenAI Stack?

Links:

00:00 Introduction
00:29 What is RAG?
02:09 The Neo4j Vector Store
03:03 Augmenting LLM answers with RAG
04:50 Using the GenAI-Stack
06:37 GenAI-Stack Configuration
08:08 The compose file
09:47 Loading data into Neo4j
11:59 Using the chat frontend
15:30 Conclusion

#neo4j #graphdatabase #knowledgegraph #langchain #genai #rag #ollama
Рекомендации по теме
Комментарии
Автор

This was really useful., also the presentor did an amazing job. But it was too short. I wish to see a longer more tutorial like version of it too. Or to have links to relevant knowledge and tutorials.

deepbayes
Автор

It would be really useful to do this video adding how to convert the unstructured data to KG and the use it on a RAG.
Step by step it's what makes people use Neo4j more. Thank you!

tecnopadre
Автор

Great whirlwind tour to present a concrete understading of RAG with knowledge graphs in Neo4j. Thanks. Looking forward to exploring this channel more to learn more about RAG/KGs/GenAIStack etc.

AAL
Автор

Thank you for publishing this type of content. This is absolutely amazing!

aaen
Автор

Thanks for sharing the video @neo4j.
By the way, both responses provided in the video were inaccurate.
Why wasn't the correct answer generated? 🤔

RajendraKadam
Автор

Trying to run this on Linux in my home lab and it's erroring out on the genai-stack-database when I run docer compose --profile linux-gpu up.

firebaugh
Автор

Amazing! Planning on integrating this with my neo4j db which has 1 billion relationships, might be pushing the limits a bit 🤣🤣

DzZit
Автор

the pull mode is not in the hub anymore... what happened?

monkeyli-nlms
Автор

How does this compare to what MS is doing in the GraphRAG paper, it seems like MS was really jazzed on using the LLM, GPT4, (in some way it wasn't clear) to create the relationships, the edges/weights etc, and this was the secret sauce, I assume this is different from what Neo4j is doing, but could you expand?

googleyoutubechannel
Автор

Does the node embedding include information of node/relations? or just the text of the answer/question.

poisson
Автор

It is still not clear whether at the final stage what input do you provide to LLM to get the final question:
- Original Question text
- Text extracted from the KG nodes/edges
- SO, you do not provide text associated with the best K answers resulted form initial generation of embeddings from the user prompt?
...and how to you compose the text extracted from the nodes? What is the technique?

leonh-kdcm
Автор

About how long can we expect the StackOverflow loader to import using the settings in the video to run?

MatanItah
Автор

Great video! What would be the minimum recommended system specs for this to work?

allminhuman
Автор

Is there any loader ready to insert own data (csv or else - not pdf) instead of stackOverflow?

podunkman
Автор

Great video, I have Windows and ollama is not for windows yet. Can I run the docker under wsl2?

henkhbit
Автор

This is only demo of some commercial product?
Can I use it within company to build some service?

podunkman
Автор

How can I load PDF, markdown, into Neo4j?

Aristocle
Автор

Hi! It is possible to use an own neo4j graph?

davidecacozza
Автор

what is up with the page...? looks weird!

Sri_Harsha_Electronics_Guthik