llama_index icon indicating copy to clipboard operation
llama_index copied to clipboard

Add Basic Knowledge Graph Structure

Open hinthornw opened this issue 2 years ago • 0 comments

Adds triplet extraction + a KG structure for storing and retrieving information.

Since we still ultimately return the whole node in the response, this format doesn't give us much additional sparsity, so a natural extension to this would be a method of returning just a serialized string of "Subject predicate object. Subject predicate object. ..."

hinthornw avatar Feb 12 '23 16:02 hinthornw