Тёмный

Convert Any Text into a Knowledge Graph 

Hands-on AI
Подписаться 3,9 тыс.
Просмотров 9 тыс.
50% 1

Medium Post: towardsdatascience.com/how-to...
Code: github.com/rahulnyk/knowledge...
Schema method: • Graph ML: Build Knowl...
#datascience #machinelearning #deeplearning #datanalytics #predictiveanalytics #artificialintelligence #generativeai #largelanguagemodels #computervision #naturallanguageprocessing #agents #transformers #embedding #graphml #graphdatascience #datavisualization #businessintelligence #optimization #montecarlosimulation #simulation #LLMs #python #aws #azure #gcp

Опубликовано:

 

26 фев 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@SridharKumarKannam
@SridharKumarKannam 2 дня назад
If you found this content useful, pleases consider sharing it with others who might benefit. Your support is greatly appreciated :)
@andydataguy
@andydataguy 3 месяца назад
Great video! Thank you for patiently explaining this so deeply
@SridharKumarKannam
@SridharKumarKannam 3 месяца назад
thank you :)
@test12382
@test12382 5 месяцев назад
Wo just what i needed. Thank you sir
@SridharKumarKannam
@SridharKumarKannam 5 месяцев назад
Thanks for your support. Pls share with your friends :)
@chrisogonas
@chrisogonas 3 месяца назад
Thanks for putting this together. 👍🏾
@SridharKumarKannam
@SridharKumarKannam 3 месяца назад
thank you :)
@chrisogonas
@chrisogonas 3 месяца назад
@@SridharKumarKannam Certainly!
@deathdefier45
@deathdefier45 5 месяцев назад
Thank you so much for this ❤
@SridharKumarKannam
@SridharKumarKannam 5 месяцев назад
Thanks for your support. Pls share with your friends :)
@suryaankam7856
@suryaankam7856 4 месяца назад
Thank you🙏
@SridharKumarKannam
@SridharKumarKannam 4 месяца назад
Thanks for your support :)
@pavanpraneeth4659
@pavanpraneeth4659 4 месяца назад
awesome video
@SridharKumarKannam
@SridharKumarKannam 4 месяца назад
thank you :)
@forumpost8118
@forumpost8118 3 месяца назад
Hi, thanks so much for putting this video. It is great. I see you three videos for same thing - text to Graph.. one is this, second one using langchain and third one using libraries similar to this. what are high level differences between the three videos and which approach would you recommend if the scale is more?
@SridharKumarKannam
@SridharKumarKannam 3 месяца назад
the main difference is control over what entities and relationships you want in your model. You can start with open ended or unbounded schema, but eventually want to refine it to have only the desirable entities and relationships
@pavanpraneeth4659
@pavanpraneeth4659 4 месяца назад
can u share here the previous video link where we have explicit relation and built a knowledge graph
@SridharKumarKannam
@SridharKumarKannam 4 месяца назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sK61Y22wvr8.html
@BlueDattebayo
@BlueDattebayo 25 дней назад
Hi there! I'm having some troubles at the part before calculating contextual proximity: "ConnectError: [WinError 10061] No connection could be made because the target machine actively refused it" Do I have to open ollama client (on my local machine) before running the code? Also there were quite a number of tweaks I had to make to the code before it could run, is that typical from your experiences? Some examples of these changes are: helpers.df_helpers -> df_helpers .prompts -> prompts model_name -> model (mistral-openocra) etc. I'd imagine this might be due to my file management within Jupyter itself? But when I create a folder within the folder, it seems to not be able to find or extract the file. So I've positioned it into the same main folder. Looking forward to hearing from you! Thank you so much in advance for your time and informative video.
@SridharKumarKannam
@SridharKumarKannam 24 дня назад
>> Do I have to open ollama client (on my local machine) before running the code? Yes >> Also there were quite a number of tweaks I had to make to the code before it could run, is that typical from your experiences? Yes, thats my experience too, these libraries are new and being developed actively by many. The APIs have been keep changing. It hard to say whats going on without running the code myself. I'm sure you will be able to fix all the issues one by one, it takes some time, but same with me too. All the best
@ronass-sm9sv
@ronass-sm9sv 4 месяца назад
I would like to build a taxonomy of skills and an ontology of skills, can I use the same process you used ?
@SridharKumarKannam
@SridharKumarKannam 4 месяца назад
Pls check this video - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sK61Y22wvr8.html I've a few other videos on defining the entities and relationships, taxonomy, pls check...
@iham1313
@iham1313 Месяц назад
most common format for text: pdf. txt and md are already “easy” to build a graph…
@SridharKumarKannam
@SridharKumarKannam 26 дней назад
Thanks for your support :)
@yazeedmohammed7715
@yazeedmohammed7715 3 месяца назад
first, thank you for the video, second, i tried to use the code but it seems i have problem with ollama, i installed it but i get no model named ollama.client, is there any way to fix it?
@SridharKumarKannam
@SridharKumarKannam 2 месяца назад
Are you able to fix the issue, otherwise, pls let me know, I'll help...
@kundeyrajesh9506
@kundeyrajesh9506 4 месяца назад
Can we also create Knowledge graph for Time series data?
@SridharKumarKannam
@SridharKumarKannam 4 месяца назад
Thanks for the suggestion, using KGs we represent entities and the relationships between them. For a time series data we don't have such a thing. Pls see - stackoverflow.com/questions/71780910/knowledge-graph-for-time-series-data
@ZochSong
@ZochSong 2 месяца назад
sir, when running the "res = extractConcepts(prompt = pages[0].page_content)", an error occurred that "Max retries exceeded with url: /api/generate". Can you help me pls
@SridharKumarKannam
@SridharKumarKannam 2 месяца назад
Pls check/increase your openAI rate limits or use open source llms using ollama.
@user-he1nx1rn4m
@user-he1nx1rn4m 5 месяцев назад
Are you using neo4j for the graph? If so how can i access it from neo4j Database
@SridharKumarKannam
@SridharKumarKannam 4 месяца назад
In this video, I've used networkx not neo4j. Once you have the nodes and relationships exacted, you can load them any graph DB of your choice...
@killerdrama5521
@killerdrama5521 4 месяца назад
How can we do this for Wikipedia content. Where we need each every possible mode and relationship type between nodes.
@SridharKumarKannam
@SridharKumarKannam 4 месяца назад
As I mentioned, broadly we have 2 methods, one is open ended where by default LLM extract all nodes and relationship, if it misses any, you can guide the LLM using the prompt. In the 2nd method, you can explicitly define all types of nodes and relationships you want to extract.
@killerdrama5521
@killerdrama5521 4 месяца назад
@@SridharKumarKannam when can we have next part of the vedio. Actually we are trying to identify nodes relationships and then ontology or knowledge graph based on that. What approach can help us better here. Is there any other generative models which can identify entities and relationships and their properties
@Ankitist
@Ankitist 4 месяца назад
Can you also cover how we can add this to neo4j and run query on that data.
@SridharKumarKannam
@SridharKumarKannam 4 месяца назад
I've a couple of videos on adding such nodes/relationships to neo4j. Pls check - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sK61Y22wvr8.html
@Sriyaa-p8o
@Sriyaa-p8o Месяц назад
sir, i tried running the code in the way shown by you, but in google colab it's saying ollama.client is not being able to be imported error, i tried to use chatgpt but it is unable to rectify it. how can i modify this code using my own dataset and is it going to work in google colab
@SridharKumarKannam
@SridharKumarKannam Месяц назад
whats the error? Can you pls share your colab notebook?
@Sriyaa-p8o
@Sriyaa-p8o Месяц назад
@@SridharKumarKannam sure sir, could you send your gmail, ill forward it to you
@Sriyaa-p8o
@Sriyaa-p8o Месяц назад
@@SridharKumarKannam sure sir, can you please send your email, ill forward it to you
@ScottzPlaylists
@ScottzPlaylists 2 месяца назад
4 points: ❗❗❗❗ 1 = The wording of the edge descriptions seems to be different than the short edge descriptions I've seen in the past. 👎 2 = The edge descriptions also seems to repeat the words used in node1 or node2. 👎 3 = I wish the examples used some text that could be broken down in to factual statements and relations like a description of a Github project, or Documentation, or textbook style text. 👎 4 = I hate sports and the example edge descriptions just seem stupid and useless. 👎
@SridharKumarKannam
@SridharKumarKannam 2 месяца назад
these are meant for quickly getting started and learning. Thanks for your support
@sunilsamson6220
@sunilsamson6220 5 месяцев назад
How can I use this .html as LLamaIndex KnowledgeGraphIndex?
@SridharKumarKannam
@SridharKumarKannam 4 месяца назад
Simple Directory Reader should read all docs including html in the folder - docs.llamaindex.ai/en/stable/examples/data_connectors/simple_directory_reader.html
Далее
LLMs Context Length vs Recall
11:59
Просмотров 835
would you eat this? #shorts
00:23
Просмотров 2 млн
Knowledge Graphs - Computerphile
12:05
Просмотров 102 тыс.
GraphRAG: LLM-Derived Knowledge Graphs for RAG
15:40
Просмотров 98 тыс.
Chat With Knowledge Graph Data | Improved RAG
13:00
Просмотров 4,3 тыс.
Water powered timers hidden in public restrooms
13:12
Просмотров 651 тыс.
LangGraph 101: it's better than LangChain
32:26
Просмотров 61 тыс.
I wish every AI Engineer could watch this.
33:49
Просмотров 76 тыс.
What is a Knowledge Graph?
5:36
Просмотров 94 тыс.
Reliable Graph RAG with Neo4j and Diffbot
8:02
Просмотров 14 тыс.