Skip to content

Commit

Permalink
Update graphrag/entity_resolution.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinHuSh authored Sep 30, 2024
1 parent abaa877 commit e63750b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphrag/entity_resolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __call__(self, graph: nx.Graph, prompt_variables: dict[str, Any] | None = No
for a, b in itertools.permutations(v, 2):
if self.is_similarity(a, b) and (b, a) not in candidate_resolution_tmp:
candidate_resolution_tmp.append((a, b))
candidate_resolution[k] = candidate_resolution_tmp or v
candidate_resolution[k] = candidate_resolution_tmp

gen_conf = {"temperature": 0.5}
resolution_result = set()
Expand Down

0 comments on commit e63750b

Please sign in to comment.