langchain_community.graphs.networkx_graph.parse_triples¶

langchain_community.graphs.networkx_graph.parse_triples(knowledge_str: str) List[KnowledgeTriple][source]¶

Parse knowledge triples from the knowledge string.

Parameters

knowledge_str (str) –

Return type

List[KnowledgeTriple]