lirian3888

Results 2 issues of lirian3888

_get_one_hop_triples_from_nodes 中返回的是_get_node_name,导致 path1_results中的的三元组存储的是名字不是node_id,以下这个分支 最终_rerank_triples_by_relevance调用self._get_node_text(h)的时候找不到node_id

# Also include nodes without schema_type for backward compatibility elif not node_schema_type and node_data.get('label') == 'entity': filtered_nodes.append(node_id) 这样导致检索到的节点太多了