(question, cluster_chain_of_entities, depth, args)
| 211 | |
| 212 | |
| 213 | def half_stop(question, cluster_chain_of_entities, depth, args): |
| 214 | print("No new knowledge added during search depth %d, stop searching." % depth) |
| 215 | answer = generate_answer(question, cluster_chain_of_entities, args) |
| 216 | save_2_jsonl(question, answer, cluster_chain_of_entities, file_name=args.dataset) |
| 217 | |
| 218 | |
| 219 | def generate_answer(question, cluster_chain_of_entities, args): |
nothing calls this directly
no test coverage detected