IDEA-FinAI / ToG

This is the official github repo of Think-on-Graph. If you are interested in our work or willing to join our research team in Shenzhen, please feel free to contact us by email (xuchengjin@idea.edu.cn)
412 stars 45 forks source link

prompt for linking topic entities to KG #2

Closed alomrani closed 11 months ago

alomrani commented 11 months ago

Hello, can you please provide prompt for finding the topic entities in the question? I need to use it for a new dataset. Thanks!

YerayL commented 11 months ago

+1

GasolSun36 commented 11 months ago

Here is a simple 1-shot demonstration prompt for finding the topic entities, you may add more shot and more precise description (in this case, description is created by "Let's think step by step.") to improve the overall performance.

Please identify the entities in the given question.
Q: What sports team play in London did Drogba play for?
A: 1. London. It is the city in which the sports team for which Drogba played is located.
2. Drogba. This is the individual who played for the sports team. Knowledge about Drogba, specifically his career and the teams he played for, is most crucial for answering this question.