(question, entity_name, total_relations, args)
| 99 | |
| 100 | |
| 101 | def construct_relation_prune_prompt(question, entity_name, total_relations, args): |
| 102 | return extract_relation_prompt % (args.width, args.width) + question + '\nTopic Entity: ' + entity_name + '\nRelations: '+ '; '.join(total_relations) + "\nA: " |
| 103 | |
| 104 | |
| 105 | def construct_entity_score_prompt(question, relation, entity_candidates): |
no outgoing calls
no test coverage detected