Graph ML: Build Knowledge Graphs using Generative AI and LLMs

  Рет қаралды 26,784

Hands-on AI

Hands-on AI

Күн бұрын

Knowledge Graphs
Generative AI,
LLMs
Graph DBs
Neo4j
Cypher
Fine Tune LLMs
Graph ML
Node Embeddings
Graph Features
Langchain
Chatbots
Gradio
Code: github.com/neo...
#datascience #machinelearning #deeplearning #datanalytics #predictiveanalytics
#artificialintelligence #generativeai #largelanguagemodels #naturallanguageprocessing
#computervision #transformers #embedding #graphml #graphdatascience
#datavisualization #businessintelligence #montecarlosimulation #simulation #optimization
#python #aws #azure #gcp

Пікірлер: 33
@SridharKumarKannam
@SridharKumarKannam 2 ай бұрын
If you found this content useful, pleases consider sharing it with others who might benefit. Your support is greatly appreciated :)
@ScottzPlaylists
@ScottzPlaylists 4 ай бұрын
Will KG's be the basis for the semantic web they say is coming❓ = An embeding representation would be a very large download with so many vectors per token❗ = A token representation where each token is a number, would be more compressed than plain text, but not very useful since the calculation is so easy❗ = But a Knowledge Graph (KG) would be the best❗ A Tokenized KG would be more compressed. (If we can standardize on the best Tokens to numbers standard) 🔥
@SridharKumarKannam
@SridharKumarKannam 4 ай бұрын
These things are still evolving and lets see how useful they can become in real-world use cases. Thanks for your support.
@Shivam-bi5uo
@Shivam-bi5uo 3 ай бұрын
how can we make use of any other model, how about openai?
@SridharKumarKannam
@SridharKumarKannam 3 ай бұрын
you can use any LLMs, openAI, Ollma, HuggingFace, etc, all works fine, the quality of results varies of-course...
@mindgraphai
@mindgraphai 7 ай бұрын
thankyou for the help sir...i had a wanted to ask you that i'm working on a similar project where my input is unstructured contract files like Non disclosure agreements ,loan agreements ,etc ... how am i suppose to create a input file for the same ...
@SridharKumarKannam
@SridharKumarKannam 6 ай бұрын
The challenge is not with input, you can just process all those docs and create text docs. You have to experiment with LLM prompts to be able to extract all the entities and relations you are interested in.
@andydataguy
@andydataguy Жыл бұрын
This series is exactly what I was looking for! Thank you 🙌🏾
@SridharKumarKannam
@SridharKumarKannam Жыл бұрын
thank you very much.
@qingdong801
@qingdong801 11 ай бұрын
Thank you for your impressive video!
@imanechatoui4308
@imanechatoui4308 5 ай бұрын
Thank you for your efforts. I have a question: How can we extract entities from PDF files?
@SridharKumarKannam
@SridharKumarKannam 5 ай бұрын
you can read pdf files using langchain or llama-index, use any other tool to convert to text first..
@mulderbm
@mulderbm 3 ай бұрын
Thanks for sharing this use case is something i have been looking at for a while now.
@SridharKumarKannam
@SridharKumarKannam 3 ай бұрын
Thank you very much for your support :)
@vishaldesai28
@vishaldesai28 Жыл бұрын
Please add reference for notebook code
@SridharKumarKannam
@SridharKumarKannam Жыл бұрын
done, the repo link added :)
@romakhajiev9535
@romakhajiev9535 11 ай бұрын
THank you so much. Do I have to pay for the google's model? Is there any way that I can use for free?
@SridharKumarKannam
@SridharKumarKannam 11 ай бұрын
You can use any LLM model. When you create a new GCP account, you will get 300$ free credit for first 3 months. You can use free LLMs from HugggingFace and OpenAI (10$ free credit) also.
@rayhon1014
@rayhon1014 Жыл бұрын
Have u tried your prompt over openai and see if vertexai is better? What makes you to go after few prompt approach vs simply specify your entity relations as context and have the LLM create the full graph for you in one shot instead?
@SridharKumarKannam
@SridharKumarKannam Жыл бұрын
I've not compared for this task but OpenAI should give similar results. As we wanted the output to be in a very specific format, we need to provide the schema and an example, as this is not a generic Q&A. LLM results are better with one task at a time. The results generally poor if we ask it to do multiple tasks in a single prompt.
@kevinkate4500
@kevinkate4500 Жыл бұрын
Sir, Can't we use any other open source llm model instead of text-bison?
@SridharKumarKannam
@SridharKumarKannam Жыл бұрын
you can use any models, try the free ones from Hugging Face. As you know the larger models perform better on these tasks as we are using generic models.
@pavellegkodymov4295
@pavellegkodymov4295 11 ай бұрын
Great, very helpful and detailed step by step instructions, thanks a lot, really appreciate!
@SridharKumarKannam
@SridharKumarKannam 11 ай бұрын
thank you :)
@alimahmoudmansour9681
@alimahmoudmansour9681 9 ай бұрын
Thank you it is very helpful
@SridharKumarKannam
@SridharKumarKannam 9 ай бұрын
Thank you very much :)
@AshSeddeek
@AshSeddeek Жыл бұрын
Sent you LinkedIn
@SridharKumarKannam
@SridharKumarKannam Жыл бұрын
Thanks.
@anusornchaikaew2567
@anusornchaikaew2567 11 ай бұрын
Thank you very much
@SridharKumarKannam
@SridharKumarKannam 11 ай бұрын
Thanks :)
@leobeeson1
@leobeeson1 11 ай бұрын
Very good hands on! Thank you. Three questions: 1. Why run `clean_text()` inside the for loop for every prompt? Why not run it once only before the for loop? 2. Why have the LLM generate the unique ID? Wouldn't it be better to have a proper UUID generator for every entity instance (person, skill, company, etc.) and inject into the hydrated template or replace it ex post from the LLM's response? 3. If the LLM is creating the "unique" IDs (e.g. `skill1`, `skill2`, etc.), how do you normalize ID's across multiple resume's? Wouldn't you risk having some id collisions across resumes? e.g. resume_1 -> `{"skill_label": "SQL", "skill_id": "skill1"}` vs resume_2 -> `{"skill_label": "Mongo", "skill_id": "skill1"}`? Thanks again!
@SridharKumarKannam
@SridharKumarKannam 7 ай бұрын
Thanks for your very valid comments. You are right on all 3 points. Agree its not a production ready pipeline, I was just experimenting and thought useful to share the idea . Its far from perfect :)
GraphRAG: LLM-Derived Knowledge Graphs for RAG
15:40
Alex Chao
Рет қаралды 115 М.
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 23 МЛН
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 37 МЛН
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Рет қаралды 994 М.
GraphRAG: The Marriage of Knowledge Graphs and RAG: Emil Eifrem
19:15
Contextual and Semantic Information Retrieval using LLMs and Knowledge Graphs
28:41
Graph RAG: Improving RAG with Knowledge Graphs
15:58
Prompt Engineering
Рет қаралды 63 М.
Fusing Knowledge Graphs and Large Language Models
1:23:24
Rudy's AI Corner
Рет қаралды 10 М.
Is Tree-based RAG Struggling? Not with Knowledge Graphs!
9:06
Local GraphRAG with LLaMa 3.1 - LangChain, Ollama & Neo4j
15:01
Coding Crash Courses
Рет қаралды 19 М.
Advanced RAG with Knowledge Graphs (Neo4J demo)
8:41
Johannes Jolkkonen | Funktio AI
Рет қаралды 51 М.
Convert Any Text into a Knowledge Graph
30:52
Hands-on AI
Рет қаралды 12 М.