From the course: Hands-On AI: Knowledge Graphs for Generative AI Use Cases

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

What are UIDs?

What are UIDs?

- While IDs are common, unique identifiers have some special characteristics to keep in mind. UIDs are like key value pairs, but they can look and act a lot like URLs. But even though these look like URLs, they don't need to be resolvable. There's also sometimes these things called URIs, which is a unique resource identifier. It's basically the same thing. The important thing to remember is every node instance and relation has a UID in a graph, and that is the main access point when calling your graph. This is why entity resolution from an incoming LLM query is so important. When an LLM queries a graph, it must first identify which entity in the graph is being referred to in the incoming query. This is to make sure the LLM is grabbing the right entity and statements from the graph that you're grounding from. Now that we know the importance of a UID, let's get into the DNA of a UID. You're going to have a namespace followed by an ID. A namespace is going to be either the name of your…

Contents