Thanks for sharing your experience and knowledge on classic coding problems beginners run into!
@123unhooked9 ай бұрын
An absolute treat! Thank you again!
@mrrohitjadhav4709 ай бұрын
Awesome tutorial would love to see "How to Build Knowledge Graphs With open source LLMs "
@johannesjolkkonen9 ай бұрын
Thank you! I'm definitely planning to make more content with open source LLMs, like how to fine tune and deploy them to an API you can use just like you would use the OpenAI or Azure APIs 🙂
@mrrohitjadhav4709 ай бұрын
@@johannesjolkkonen Awesome 😍
@thanartchamnanyantarakij99506 ай бұрын
waiting for this
@mrrohitjadhav4706 ай бұрын
@@johannesjolkkonen thanks, looking forward to building custom Knowledge Graphs from our own data using open source llm.
@ScottzPlaylists4 ай бұрын
I'm gung ho for Open Source❗ What about Neo4J -- can you replace it too❓
@mwdcodeninja4 ай бұрын
Love the solution. I would really appreciate a larger font size though.
@8eck7 ай бұрын
Thank you for sharing.
@noduslabs9 ай бұрын
Really enjoy your tutorials! We should once do a session together, will be fun!
@johannesjolkkonen8 ай бұрын
Hey Dmitry, glad to hear it! Let's make it happen. Sent you a connect-invite on LinkedIn 🙂
@AnilDhimanSvg9 ай бұрын
Challenge is coming up with domain specific schema when dealing with unstructured data i.e. mostly text. Any pointers about that ?
@johannesjolkkonen9 ай бұрын
The main pointer is to make the graph objects as easily distinguishable as possible, i.e name your node-types, relationship-types and their attributes in a way where the names are descriptive and do not get easily mixed. Really this applies for schema design in general, but is especially helpful to reduce the chances that the LLM will mix any of the objects when generating Cypher. Good luck!
@fourhourlife85949 ай бұрын
brah what happens when u use random stream of text. imagine u have a k. graph already, and u continiously stream new data to it. how do u make sure that the entities stay the same, if in round 1 entity was John Mayer, and in round 2, the text used John M. or Johnny Mayer how can u sync this up?
@johannesjolkkonen8 ай бұрын
Hey, great question. This problem of "syncing" similar entities is a key challenge in making this work in real-life. There are some promising methods, which you can learn more about in these two links: margin.re/2023/06/entity-resolution-in-reagent/ (in the second part) kzbin.info/www/bejne/mn-qh2epgdCCmaM I'm not sure how soon I'll manage it, but I definitely want to make a video on this as well, hopefully before too long
@jdutchak678 ай бұрын
Good but can you do these with just ChatOpenAI not Microsoft stuff Azure etc ? that way its more open source?
@MohammedQuazi-m9k9 ай бұрын
NameError: name 'cypher_query' is not defined
@AlexD_209 ай бұрын
same here I get the following error: ValidationError: 3 validation errors for GraphCypherQAChain cypher_generation_chain field required (type=value_error.missing) qa_chain field required (type=value_error.missing) graph_schema field required (type=value_error.missing would also like to know how to solve this issue
@D1zZit8 ай бұрын
Late to the party, but it's because of your connection string to your neo4j database. Check that you have configured it correctly.
@setop1235 ай бұрын
Problem is the code isn't parsed properly and any error will end up showing 'cypher_query' not defined. Mine was OPENAI_API_BASE in env without value that i left there and made the whole thing bug because it was overwritting the openai API URL in my from langchain_community.chat_models import ChatOpenAI
@RedCloudServices9 ай бұрын
We use all of these resources except we are not allowed to send anything to openai can this be accomplished with a local llm?
@johannesjolkkonen9 ай бұрын
Hey, sure! Performance generating the cypher will of course vary with open-source models but otherwise the principles are exactly same (: You might also consider running OpenAI's models on Azure if privacy is a concern. That way you will have Azure's enterprise-grade data privacy guarantees, and you can also choose the region where the model is hosted
@kingsleykelechionwuchekwa75084 ай бұрын
Is there any way to apply this to the HTML Tree?
@solidkundi5 ай бұрын
is SurrealDB any good for these ?
@johannesjolkkonen5 ай бұрын
Actually wasn't aware of SurrealDB before now, looks interesting! I think it should work with the same principles, but with the caveat that SurrealQL being a new dialect of SQL, I think LLMs will struggle to generate it reliably. This is already a significant challenge for Cypher (as I mention in the video) and even standard SQL, so for SurrealQL I think you'd definitely need to fine-tune a model for it.
@zz-dy7bz3 күн бұрын
You look like Homelander. lol
@maxizon36319 ай бұрын
a shame is has music
@johannesjolkkonen9 ай бұрын
Thanks for the feedback! I'm still figuring out how to best edit these videos, and here I tried to balance it by only having music in the intro and outro. Do you think the music is too loud, or would you prefer no music at all?
@maxizon36319 ай бұрын
@johannesjolkkonen I thought the reason was to avoid your audio being scrapped by skynet! I personally cannot understand well when there is any music on the background and is distracting, but others might disagree. I only watch channels without music as I want the hear clearly.
@ScriptureFirst4 ай бұрын
Second for no music 🙏🏼
@ScottzPlaylists4 ай бұрын
@@johannesjolkkonen I'm not here for no stinking music❗ 😏 I need info as efficient as possible - No fluff. Good Job overall 👍
@carthagely1228 ай бұрын
I have to really thank you ، how i can contact you