diff --git a/examples/llm/hotpot_qa.py b/examples/llm/hotpot_qa.py index beb33c65d451..bb2896dd6f80 100644 --- a/examples/llm/hotpot_qa.py +++ b/examples/llm/hotpot_qa.py @@ -149,7 +149,8 @@ golden_triples = relevant_triples[QA_pair] # Again, redundant since TXT2KG already provides lowercase # in case loading a KG that was made some other way without lowercase - golden_triples = [(i[0].lower(), i[1].lower(), i[2].lower()) for i in golden_triples] + golden_triples = [(i[0].lower(), i[1].lower(), i[2].lower()) + for i in golden_triples] q = QA_pair[0] retrieved_subgraph = query_loader.query(q) retrieved_triples = retrieved_subgraph.triples