Easy way to get 15 free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

The easiest way to chat with Knowledge Graph using LLMs (python tutorial)

Follow
Geraldus Wilsen

What is knowledge graph? How to integrate it with LLMs? If you have the same question, this video is for you! I will explain start from the basic theory until how to set up Neo4J database, build a graph chain using Langchain, Python, and Gemini ( open source model) , until how to do prompting strategies to enhance our model's performance

Chapter:
00:00:00 Intro
00:00:31 What is Knowledge Graph?
00:02:51 Why is it important?
00:04:28 Workflow
00:05:23 Code
00:06:28 Neo4J, Google Gemini, Hugging Face set up
00:07:51 Data Overview
00:08:30 Insert Data to Neo4J
00:10:21 Building a Graph Chain
00:11:50 Evaluation 1
00:14:00 Prompting Strategies
00:16:03 Evaluation 2
00:16:40 Bonus ( How to Create a Dynamic Prompt? )
00:18:07 Outro

Everything you'll need:
Github repo: https://github.com/projectwilsen/Know...
Gemini API: https://aistudio.google.com/app/apikey
HuggingFace API: https://huggingface.co/settings/tokens
Neo4J database set up: https://console.neo4j.io/
Neo4J Cypher cheat sheet: https://neo4j.com/docs/cyphercheats...

References:
https://arxiv.org/pdf/2307.03172.pdf
https://arxiv.org/pdf/2311.07509.pdf
https://www.microsoft.com/enus/resea...


#llm #knowledgegraph #langchain #neo4j #python

posted by ropitans7s