llama_index
llama_index copied to clipboard
Add Basic Knowledge Graph Structure
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. ..."