DeepLearning.AI
AI is the new electricity and will transform and improve nearly all areas of human lives.

๐Ÿ’ป ย  Accessing Utils File and Helper Functions

In each notebook on the top menu:

1: ย  Click on "File"

2: ย  Then, click on "Open"

You will be able to see all the notebook files for the lesson, including any helper functions used in the notebook on the left sidebar. See the following image for the steps above.


๐Ÿ’ป ย  Downloading Notebooks

In each notebook on the top menu:

1: ย  Click on "File"

2: ย  Then, click on "Download as"

3: ย  Then, click on "Notebook (.ipynb)"


๐Ÿ’ป ย  Uploading Your Files

After following the steps shown in the previous section ("File" => "Open"), then click on "Upload" button to upload your files.


๐Ÿ“— ย  See Your Progress

Once you enroll in this courseโ€”or any other short course on the DeepLearning.AI platformโ€”and open it, you can click on 'My Learning' at the top right corner of the desktop view. There, you will be able to see all the short courses you have enrolled in and your progress in each one.

Additionally, your progress in each short course is displayed at the bottom-left corner of the learning page for each course (desktop view).


๐Ÿ“ฑ ย  Features to Use

๐ŸŽž ย  Adjust Video Speed: Click on the gear icon (โš™) on the video and then from the Speed option, choose your desired video speed.

๐Ÿ—ฃ ย  Captions (English and Spanish): Click on the gear icon (โš™) on the video and then from the Captions option, choose to see the captions either in English or Spanish.

๐Ÿ”… ย  Video Quality: If you do not have access to high-speed internet, click on the gear icon (โš™) on the video and then from Quality, choose the quality that works the best for your Internet speed.

๐Ÿ–ฅ ย  Picture in Picture (PiP): This feature allows you to continue watching the video when you switch to another browser tab or window. Click on the small rectangle shape on the video to go to PiP mode.

โˆš ย  Hide and Unhide Lesson Navigation Menu: If you do not have a large screen, you may click on the small hamburger icon beside the title of the course to hide the left-side navigation menu. You can then unhide it by clicking on the same icon again.


๐Ÿง‘ ย  Efficient Learning Tips

The following tips can help you have an efficient learning experience with this short course and other courses.

๐Ÿง‘ ย  Create a Dedicated Study Space: Establish a quiet, organized workspace free from distractions. A dedicated learning environment can significantly improve concentration and overall learning efficiency.

๐Ÿ“… ย  Develop a Consistent Learning Schedule: Consistency is key to learning. Set out specific times in your day for study and make it a routine. Consistent study times help build a habit and improve information retention.

Tip: Set a recurring event and reminder in your calendar, with clear action items, to get regular notifications about your study plans and goals.

โ˜• ย  Take Regular Breaks: Include short breaks in your study sessions. The Pomodoro Technique, which involves studying for 25 minutes followed by a 5-minute break, can be particularly effective.

๐Ÿ’ฌ ย  Engage with the Community: Participate in forums, discussions, and group activities. Engaging with peers can provide additional insights, create a sense of community, and make learning more enjoyable.

โœ ย  Practice Active Learning: Don't just read or run notebooks or watch the material. Engage actively by taking notes, summarizing what you learn, teaching the concept to someone else, or applying the knowledge in your practical projects.


๐Ÿ“š ย  Enroll in Other Short Courses

Keep learning by enrolling in other short courses. We add new short courses regularly. Visit DeepLearning.AI Short Courses page to see our latest courses and begin learning new topics. ๐Ÿ‘‡

๐Ÿ‘‰๐Ÿ‘‰ ๐Ÿ”— DeepLearning.AI โ€“ All Short Courses [+]


๐Ÿ™‚ ย  Let Us Know What You Think

Your feedback helps us know what you liked and didn't like about the course. We read all your feedback and use them to improve this course and future courses. Please submit your feedback by clicking on "Course Feedback" option at the bottom of the lessons list menu (desktop view).

Also, you are more than welcome to join our community ๐Ÿ‘‰๐Ÿ‘‰ ๐Ÿ”— DeepLearning.AI Forum


Sign in

Create Your Account

Or, sign up with your email
Email Address

Already have an account? Sign in here!

By signing up, you agree to our Terms Of Use and Privacy Policy

Choose Your Learning Path

Enjoy 30% Off Now. Cancel Anytime!

MonthlyYearly

Change Your Plan

Your subscription plan will change at the end of your current billing period. Youโ€™ll continue to have access to your current plan until then.

View All Plans and Features

Welcome back!

Hi ,

We'd like to know you better so we can create more relevant courses. What do you do for work?

DeepLearning.AI
  • Explore Courses
  • Community
    • Forum
    • Events
    • Ambassadors
    • Ambassador Spotlight
  • My Learnings
  • daily streak fire

    You've achieved today's streak!

    Complete one lesson every day to keep the streak going.

    Su

    Mo

    Tu

    We

    Th

    Fr

    Sa

    free pass got

    You earned a Free Pass!

    Free Passes help protect your daily streak. Complete more lessons to earn up to 3 Free Passes.

    Free PassFree PassFree Pass
Hi and welcome to this short course, Knowledge Graphs for RAC, I'm here with the instructor, Andreas Colliger, a developer evangelist for generative AI at Neo4j. Welcome, Andreas. Thanks, Andrew. I'm excited to be here today and can't wait to show you how to use Knowledge Graphs to improve your retrieval augmented generation applications. Knowledge Graphs are a very powerful, Knowledge Graphs provide a way to store and organize data In contrast to traditional relational databases which organize data into tables with rows and columns. Knowledge Graphs instead use a graph-based structure Each of these nodes or edges in the graph can also store additional information about the entity in the case of the node or the relationship in the case of the edge. For example, a person node could store an individual's name, email, and other details. A company node could store data like the number of employees, annual revenue, and so on. And the employer-employee relationship between the company and the person would be represented by an edge between these two nodes. And the edge could also store additional information about that employment relationship, like the person's job title, start date, and so on. The graph structure of nodes and relationships is very flexible and lets you more conveniently model some parts of the world than relational databases. That's right, Andrew. Knowledge Graphs make it much easier to represent and search deep relationships This enables much faster execution of queries, getting you to the data you need more efficiently. This is why web search engines and e-commerce sites that offer product search capability have found knowledge graphs a key technology for delivering relevant results. In fact, if you search for, say, a celebrity on Google or Bing, the results you get back in the cards to the side are retrieved using a knowledge graph. And when you combine a Knowledge Graph with an embedding model, That's because you can take advantage of the relationships and the metadata stored in the graph to improve the relevance of the text you retrieve and pass to the language model. In a basic retrieval augmented generation or RAG system, the documents you want to query or chat with might be first split into smaller sections or chunks which are then transformed into vectors using an embedding model. Once in this vector form, you can use a similarity function like cosine similarity to search through the chunks of text to find the ones relevant to your prompt. But it turns out that storing these text chunks in a knowledge draft opens up new ways to retrieve relevant data from your documents. Rather than just similarity search using text embeddings, you can retrieve one chunk, then, You see in this course how this can review connections between text sources that similarity-based RAAC can miss. In this course, you'll learn how to build a Knowledge Graph You'll start with an introduction to Knowledge Graphs Next, you'll build a knowledge graph to represent one set of SEC forms and use Langchain to carry out RAG by retrieving text from this graph. Lastly, you'll go through the graph creation process one more time for a second set of SEC forms, connect the two graphs using some linking data, and see how you can use more complex graph queries to carry out retrieval across multiple sets of documents. All this together allows you to ask some really interesting questions at the SEC dataset. Thanks, Andreas. This sounds like a really exciting and timely course. Many people have helped with the development of this course. On the Neo4j side, Zachary Blumenfeld and from dblend.ai, Tommy Nelson and Jeff Lardwig all contributed to this course. It's really an exciting time to learn Knowledge Graphs. This course covers a lot, but you'll walk through everything step-by-step so that you'll understand in detail how to build knowledge graph systems yourself. After finishing this course, I hope you'll be able to use Knowledge Graphs to help your systems better understand
course detail
Next Lesson
Knowledge Graphs for RAG
  • Introduction
    Video
    ใƒป
    5 mins
  • Knowledge Graph Fundamentals
    Video
    ใƒป
    6 mins
  • Querying Knowledge Graphs
    Video with Code Example
    ใƒป
    19 mins
  • Preparing Text for RAG
    Video with Code Example
    ใƒป
    7 mins
  • Constructing a Knowledge Graph from Text Documents
    Video with Code Example
    ใƒป
    16 mins
  • Adding Relationships to the SEC Knowledge Graph
    Video with Code Example
    ใƒป
    17 mins
  • Expanding the SEC Knowledge Graph
    Video with Code Example
    ใƒป
    17 mins
  • Chatting with the Knowledge Graph
    Video with Code Example
    ใƒป
    23 mins
  • Conclusion
    Video
    ใƒป
    1 min
  • Course Feedback
  • Community