File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ async def ainsert(self, string_or_strings):
208208 logger .info ("[Entity Extraction]..." )
209209 maybe_new_kg = await extract_entities (
210210 inserting_chunks ,
211- knwoledge_graph_inst = self .chunk_entity_relation_graph ,
211+ knowledge_graph_inst = self .chunk_entity_relation_graph ,
212212 entity_vdb = self .entities_vdb ,
213213 relationships_vdb = self .relationships_vdb ,
214214 global_config = asdict (self ),
Original file line number Diff line number Diff line change @@ -124,14 +124,14 @@ async def _handle_single_relationship_extraction(
124124async def _merge_nodes_then_upsert (
125125 entity_name : str ,
126126 nodes_data : list [dict ],
127- knwoledge_graph_inst : BaseGraphStorage ,
127+ knowledge_graph_inst : BaseGraphStorage ,
128128 global_config : dict ,
129129):
130130 already_entitiy_types = []
131131 already_source_ids = []
132132 already_description = []
133133
134- already_node = await knwoledge_graph_inst .get_node (entity_name )
134+ already_node = await knowledge_graph_inst .get_node (entity_name )
135135 if already_node is not None :
136136 already_entitiy_types .append (already_node ["entity_type" ])
137137 already_source_ids .extend (
You can��t perform that action at this time.
0 commit comments