-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap_prompt_sample.txt
43 lines (40 loc) · 23.8 KB
/
map_prompt_sample.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[{'role': 'system', 'content': '\n---Role---\n\nYou are a helpful assistant responding to questions about data in the tables provided.\n\n\n---Goal---\n\nGenerate a response consisting of a list of key points that responds to the user\'s question, summarizing all relevant information in the input data tables.\n\nYou should use the data provided in the data tables below as the primary context for generating the response.\nIf you don\'t know the answer or if the input data tables do not contain sufficient information to provide an answer, just say so. Do not make anything up.\n\nEach key point in the response should have the following element:\n- Description: A comprehensive description of the point.\n- Importance Score: An integer score between 0-100 that indicates how important the point is in answering the user\'s question. An \'I don\'t know\' type of response should have a score of 0.\n\nThe response should be JSON formatted as follows:\n{\n "points": [\n {"description": "Description of point 1 [Data: Reports (report ids)]", "score": score_value},\n {"description": "Description of point 2 [Data: Reports (report ids)]", "score": score_value}\n ]\n}\n\nThe response shall preserve the original meaning and use of modal verbs such as "shall", "may" or "will".\n\nPoints supported by data should list the relevant reports as references as follows:\n"This is an example sentence supported by data references [Data: Reports (report ids)]"\n\n**Do not list more than 5 record ids in a single reference**. Instead, list the top 5 most relevant record ids and add "+more" to indicate that there are more.\n\nFor example:\n"Person X is the owner of Company Y and subject to many allegations of wrongdoing [Data: Reports (2, 7, 64, 46, 34, +more)]. He is also CEO of company X [Data: Reports (1, 3)]"\n\nwhere 1, 2, 3, 7, 34, 46, and 64 represent the id (not the index) of the relevant data report in the provided tables.\n\nDo not include information where the supporting evidence for it is not provided.\n\n\n---Data tables---\n\n\n\nid|title|occurrence weight|content|rank\n0|Scrooge and His Transformation|1.0|"# Scrooge and His Transformation\n\nThe community revolves around Scrooge, a central figure whose transformation from a miserly individual to a generous benefactor impacts various entities. Key relationships include his interactions with the Cratchit family, his nephew Fred, and the three Ghosts of Christmas. The community also includes significant locations such as London, The Office, and Scrooge\'s Nephew\'s House, which play pivotal roles in his journey.\n\n## Scrooge\'s Transformation\n\nScrooge undergoes a profound transformation from a miserly, selfish individual to a generous and caring person. This change is catalyzed by the visits from the Ghosts of Christmas Past, Present, and Yet to Come, who show him the consequences of his actions. This transformation has a ripple effect on his relationships and the broader community, highlighting the importance of personal change and its impact on society [Data: Entities (1, 22, 23, 24); Relationships (9, 10, 11, 17, 16, 8, 15)].\n\n## Impact on Bob Cratchit and Family\n\nScrooge\'s newfound generosity significantly impacts Bob Cratchit and his struggling family. Scrooge promises to raise Bob\'s salary and provide assistance, which is a stark contrast to his previous behavior as a harsh employer. This act of kindness not only improves the Cratchit family\'s financial situation but also symbolizes Scrooge\'s commitment to making amends and supporting those in need [Data: Entities (2); Relationships (1, 5)].\n\n## Role of the Ghosts of Christmas\n\nThe Ghosts of Christmas Past, Present, and Yet to Come play crucial roles in Scrooge\'s transformation. Each ghost provides Scrooge with insights into different aspects of his life, from his past joys and regrets to the current hardships of others and the grim future that awaits if he does not change. These supernatural interventions are pivotal in prompting Scrooge to reevaluate his life and make significant changes [Data: Entities (22, 23, 24); Relationships (9, 10, 11)].\n\n## Influence of Fred and Family\n\nFred, Scrooge\'s cheerful and kind-hearted nephew, consistently invites Scrooge to Christmas dinner, embodying familial love and forgiveness. Scrooge\'s eventual acceptance of Fred\'s invitation and his warm reception at Fred\'s house signify a rekindling of family bonds and a willingness to reconnect with loved ones. This relationship highlights the importance of family and the positive influence it can have on an individual\'s transformation [Data: Entities (1); Relationships (0, 3)].\n\n## Significance of London and The City\n\nLondon and The City serve as the broader societal context for Scrooge\'s transformation. His change from a miserly figure to a generous benefactor is noted within the community, symbolizing the potential for individual transformation to inspire broader societal change. The city\'s recognition of Scrooge\'s transformation underscores the impact of his actions on the community at large [Data: Entities (25, 20); Relationships (15, 6)].\n\n## Memories of Belle and Fan\n\nScrooge\'s memories of his former fiancée Belle and his beloved sister Fan play significant roles in his transformation. Belle\'s decision to end their relationship due to Scrooge\'s obsession with wealth serves as a poignant reminder of the personal costs of his greed. Similarly, the memory of Fan and her son Fred evokes a sense of familial love and loss, further motivating Scrooge to change his ways [Data: Entities (11, 13); Relationships (13, 14)].\n\n## Influence of Fezziwig\n\nFezziwig, Scrooge\'s former employer, is remembered for his kindness and generosity, especially during Christmas. Fezziwig\'s benevolent nature stands in stark contrast to Scrooge\'s initial behavior, serving as a model for the kind of person Scrooge aspires to become. This contrast highlights the impact of positive role models in shaping an individual\'s values and actions [Data: Entities (10); Relationships (12)].\n\n## Scrooge\'s Generosity Towards The Gentleman\n\nScrooge\'s generous donation to The Gentleman marks a significant shift in his character. This act of kindness is a public demonstration of his newfound generosity and commitment to helping others. The Gentleman\'s surprise and gratitude further emphasize the stark contrast between Scrooge\'s past and present behavior, showcasing the transformative power of generosity [Data: Entities (3); Relationships (2)].\n\n## Significance of Christmas Eve and Christmas Day\n\nChristmas Eve and Christmas Day are pivotal moments in Scrooge\'s transformation. The visits from the ghosts on Christmas Eve lead to his profound change, and Christmas Day marks the beginning of his new, generous behavior. These days symbolize the potential for renewal and the importance of embracing the spirit of Christmas, which is characterized by generosity, kindness, and familial love [Data: Entities (26, 27); Relationships (16, 17)].\n\n## The Office as a Key Location\n\nThe Office, where Scrooge and Bob Cratchit work, is a key location in the community. It is here that Scrooge surprises Bob with a raise, symbolizing his commitment to change and support for his employees. This act of kindness at the workplace highlights the importance of positive employer-employee relationships and the impact of leadership on workplace morale and well-being [Data: Entities (5); Relationships (4)]."|8.5\n1|Scrooge, Christmas, and Tiny Tim|0.5|"# Scrooge, Christmas, and Tiny Tim\n\nThe community revolves around the character of Scrooge and his transformation during Christmas, which significantly impacts Tiny Tim. The relationships between these entities highlight themes of redemption, care, and the spirit of Christmas.\n\n## Scrooge\'s transformation during Christmas\n\nScrooge\'s transformation is a central theme in this community. His journey from a miserly, uncaring individual to someone who \'learns to keep Christmas well\' marks a significant change in his character. This transformation is not only personal but also has a broader impact on those around him, particularly Tiny Tim. The importance of Christmas as a time for reflection, generosity, and joy is underscored by Scrooge\'s newfound appreciation for the holiday [Data: Entities (21); Relationships (7)].\n\n## Scrooge\'s relationship with Tiny Tim\n\nScrooge\'s relationship with Tiny Tim is a poignant aspect of his transformation. Initially indifferent to the plight of others, Scrooge becomes a second father to Tiny Tim, demonstrating his deep care and commitment to the well-being of others. This relationship highlights the themes of redemption and the positive impact one individual can have on another\'s life. Tiny Tim\'s survival and improved health are direct results of Scrooge\'s change of heart [Data: Entities (19); Relationships (5)].\n\n## Tiny Tim\'s association with the spirit of Christmas\n\nTiny Tim embodies the spirit of Christmas through his famous line, \'God bless Us, Every One!\' This line captures the essence of the holiday season—compassion, inclusivity, and goodwill. Tiny Tim\'s character serves as a reminder of the importance of caring for the less fortunate and the transformative power of kindness and generosity. His association with Christmas reinforces the holiday\'s themes and the impact of Scrooge\'s transformation on the community [Data: Entities (21, 19); Relationships (18)].\n\n## The moral and emotional lessons of the community\n\nThe relationships and transformations within this community convey profound moral and emotional lessons. Scrooge\'s journey from selfishness to selflessness, his care for Tiny Tim, and the overarching theme of Christmas as a time for generosity and joy all contribute to a narrative that encourages positive change and empathy. These lessons are not only relevant within the context of the story but also resonate with broader societal values [Data: Entities (21, 19); Relationships (7, 5, 18)]."|8.5\n\n\n---Goal---\n\nGenerate a response consisting of a list of key points that responds to the user\'s question, summarizing all relevant information in the input data tables.\n\nYou should use the data provided in the data tables below as the primary context for generating the response.\nIf you don\'t know the answer or if the input data tables do not contain sufficient information to provide an answer, just say so. Do not make anything up.\n\nEach key point in the response should have the following element:\n- Description: A comprehensive description of the point.\n- Importance Score: An integer score between 0-100 that indicates how important the point is in answering the user\'s question. An \'I don\'t know\' type of response should have a score of 0.\n\nThe response shall preserve the original meaning and use of modal verbs such as "shall", "may" or "will".\n\nPoints supported by data should list the relevant reports as references as follows:\n"This is an example sentence supported by data references [Data: Reports (report ids)]"\n\n**Do not list more than 5 record ids in a single reference**. Instead, list the top 5 most relevant record ids and add "+more" to indicate that there are more.\n\nFor example:\n"Person X is the owner of Company Y and subject to many allegations of wrongdoing [Data: Reports (2, 7, 64, 46, 34, +more)]. He is also CEO of company X [Data: Reports (1, 3)]"\n\nwhere 1, 2, 3, 7, 34, 46, and 64 represent the id (not the index) of the relevant data report in the provided tables.\n\nDo not include information where the supporting evidence for it is not provided.\n\nThe response should be JSON formatted as follows:\n{\n "points": [\n {"description": "Description of point 1 [Data: Reports (report ids)]", "score": score_value},\n {"description": "Description of point 2 [Data: Reports (report ids)]", "score": score_value}\n ]\n}\n'}, {'role': 'user', 'content': 'Who is Scrooge, and what are his main relationships?'}][
{
"role": "system",
"content": "
\n---Role---\n\n
You are a helpful assistant responding to questions about data in the tables provided.\n\n\n
---Goal---\n\n
Generate a response consisting of a list of key points that responds to the user's question, summarizing all relevant information in the input data tables.\n\n
You should use the data provided in the data tables below as the primary context for generating the response.\n
If you don't know the answer or if the input data tables do not contain sufficient information to provide an answer, just say so. Do not make anything up.\n\n
Each key point in the response should have the following element:\n- Description: A comprehensive description of the point.\n
- Importance Score: An integer score between 0-100 that indicates how important the point is in answering the user's question. An 'I don't know' type of response should have a score of 0.\n\n
The response should be JSON formatted as follows:\n
{\n \"points\": [\n {\"description\": \"Description of point 1 [Data: Reports (report ids)]\", \"score\": score_value},\n {\"description\": \"Description of point 2 [Data: Reports (report ids)]\", \"score\": score_value}\n ]\n}\n\n
The response shall preserve the original meaning and use of modal verbs such as \"shall\", \"may\" or \"will\".\n\nPoints supported by data should list the relevant reports as references as follows:\n\"This is an example sentence supported by data references [Data: Reports (report ids)]\"\n\n
**Do not list more than 5 record ids in a single reference**. Instead, list the top 5 most relevant record ids and add \"+more\" to indicate that there are more.\n\nFor example:\n\"Person X is the owner of Company Y and subject to many allegations of wrongdoing [Data: Reports (2, 7, 64, 46, 34, +more)].
He is also CEO of company X [Data: Reports (1, 3)]\"\n\nwhere 1, 2, 3, 7, 34, 46, and 64 represent the id (not the index) of the relevant data report in the provided tables.\n\nDo not include information where the supporting evidence for it is not provided.\n\n\n
---Data tables---\n\n\n\n
id|title|occurrence weight|content|rank\n
0|Scrooge and His Transformation|1.0|\"# Scrooge and His Transformation\n\nThe community revolves around Scrooge, a central figure whose transformation from a miserly individual to a generous benefactor impacts various entities.
Key relationships include his interactions with the Cratchit family, his nephew Fred, and the three Ghosts of Christmas.
The community also includes significant locations such as London, The Office, and Scrooge's Nephew's House, which play pivotal roles in his journey.\n\n## Scrooge's Transformation\n\nScrooge undergoes a profound transformation from a miserly, selfish individual to a generous and caring person. This change is catalyzed by the visits from the Ghosts of Christmas Past, Present, and Yet to Come, who show him the consequences of his actions. This transformation has a ripple effect on his relationships and the broader community, highlighting the importance of personal change and its impact
on society [Data: Entities (1, 22, 23, 24);
Relationships (9, 10, 11, 17, 16, 8, 15)].\n\n
## Impact on Bob Cratchit and Family\n\nScrooge's newfound generosity significantly impacts Bob Cratchit and his struggling family. Scrooge promises to raise Bob's salary and provide assistance, which is a stark contrast to his previous behavior as a harsh employer. This act of kindness not only improves the Cratchit family's financial situation but also symbolizes Scrooge's commitment to making amends and supporting those in need [Data: Entities (2);
Relationships (1, 5)].\n\n
## Role of the Ghosts of Christmas\n\nThe Ghosts of Christmas Past, Present, and Yet to Come play crucial roles in Scrooge's transformation. Each ghost provides Scrooge with insights into different aspects of his life, from his past joys and regrets to the current hardships of others and the grim future that awaits if he does not change. These supernatural interventions are pivotal in prompting Scrooge to reevaluate his life and make significant changes [Data: Entities (22, 23, 24); Relationships (9, 10, 11)].\n\n
## Influence of Fred and Family\n\nFred, Scrooge's cheerful and kind-hearted nephew, consistently invites Scrooge to Christmas dinner, embodying familial love and forgiveness. Scrooge's eventual acceptance of Fred's invitation and his warm reception at Fred's house signify a rekindling of family bonds and a willingness to reconnect with loved ones. This relationship highlights the importance of family and the positive influence it can have on an individual's transformation [Data: Entities (1); Relationships (0, 3)].\n\n
## Significance of London and The City\n\nLondon and The City serve as the broader societal context for Scrooge's transformation. His change from a miserly figure to a generous benefactor is noted within the community, symbolizing the potential for individual transformation to inspire broader societal change. The city's recognition of Scrooge's transformation underscores the impact of his actions on the community at large [Data: Entities (25, 20); Relationships (15, 6)].\n\n
## Memories of Belle and Fan\n\nScrooge's memories of his former fiancée Belle and his beloved sister Fan play significant roles in his transformation. Belle's decision to end their relationship due to Scrooge's obsession with wealth serves as a poignant reminder of the personal costs of his greed. Similarly, the memory of Fan and her son Fred evokes a sense of familial love and loss, further motivating Scrooge to change his ways [Data: Entities (11, 13); Relationships (13, 14)].\n\n
## Influence of Fezziwig\n\nFezziwig, Scrooge's former employer, is remembered for his kindness and generosity, especially during Christmas. Fezziwig's benevolent nature stands in stark contrast to Scrooge's initial behavior, serving as a model for the kind of person Scrooge aspires to become. This contrast highlights the impact of positive role models in shaping an individual's values and actions [Data: Entities (10); Relationships (12)].\n\n## Scrooge's Generosity Towards The Gentleman\n\nScrooge's generous donation to The Gentleman marks a significant shift in his character. This act of kindness is a public demonstration of his newfound generosity and commitment to helping others. The Gentleman's surprise and gratitude further emphasize the stark contrast between Scrooge's past and present behavior, showcasing the transformative power of generosity [Data: Entities (3); Relationships (2)].\n\n## Significance of Christmas Eve and Christmas Day\n\nChristmas Eve and Christmas Day are pivotal moments in Scrooge's transformation. The visits from the ghosts on Christmas Eve lead to his profound change, and Christmas Day marks the beginning of his new, generous behavior. These days symbolize the potential for renewal and the importance of embracing the spirit of Christmas, which is characterized by generosity, kindness, and familial love [Data: Entities (26, 27); Relationships (16, 17)].\n\n## The Office as a Key Location\n\nThe Office, where Scrooge and Bob Cratchit work, is a key location in the community. It is here that Scrooge surprises Bob with a raise, symbolizing his commitment to change and support for his employees. This act of kindness at the workplace highlights the importance of positive employer-employee relationships and the impact of leadership on workplace morale and well-being [Data: Entities (5); Relationships (4)].\"|8.5\n1|Scrooge, Christmas, and Tiny Tim|0.5|\"# Scrooge, Christmas, and Tiny Tim\n\nThe community revolves around the character of Scrooge and his transformation during Christmas, which significantly impacts Tiny Tim. The relationships between these entities highlight themes of redemption, care, and the spirit of Christmas.\n\n## Scrooge's transformation during Christmas\n\nScrooge's transformation is a central theme in this community. His journey from a miserly, uncaring individual to someone who 'learns to keep Christmas well' marks a significant change in his character. This transformation is not only personal but also has a broader impact on those around him, particularly Tiny Tim. The importance of Christmas as a time for reflection, generosity, and joy is underscored by Scrooge's newfound appreciation for the holiday [Data: Entities (21); Relationships (7)].\n\n## Scrooge's relationship with Tiny Tim\n\nScrooge's relationship with Tiny Tim is a poignant aspect of his transformation. Initially indifferent to the plight of others, Scrooge becomes a second father to Tiny Tim, demonstrating his deep care and commitment to the well-being of others. This relationship highlights the themes of redemption and the positive impact one individual can have on another's life. Tiny Tim's survival and improved health are direct results of Scrooge's change of heart [Data: Entities (19); Relationships (5)].\n\n## Tiny Tim's association with the spirit of Christmas\n\nTiny Tim embodies the spirit of Christmas through his famous line, 'God bless Us, Every One!' This line captures the essence of the holiday season—compassion, inclusivity, and goodwill. Tiny Tim's character serves as a reminder of the importance of caring for the less fortunate and the transformative power of kindness and generosity. His association with Christmas reinforces the holiday's themes and the impact of Scrooge's transformation on the community [Data: Entities (21, 19); Relationships (18)].\n\n## The moral and emotional lessons of the community\n\nThe relationships and transformations within this community convey profound moral and emotional lessons. Scrooge's journey from selfishness to selflessness, his care for Tiny Tim, and the overarching theme of Christmas as a time for generosity and joy all contribute to a narrative that encourages positive change and empathy. These lessons are not only relevant within the context of the story but also resonate with broader societal values [Data: Entities (21, 19); Relationships (7, 5, 18)].\"|8.5\n\n\n---Goal---\n\nGenerate a response consisting of a list of key points that responds to the user's question, summarizing all relevant information in the input data tables.\n\n
You should use the data provided in the data tables below as the primary context for generating the response.\nIf you don't know the answer or if the input data tables do not contain sufficient information to provide an answer, just say so. Do not make anything up.\n\nEach key point in the response should have the following element:\n- Description: A comprehensive description of the point.\n- Importance Score: An integer score between 0-100 that indicates how important the point is in answering the user's question. An 'I don't know' type of response should have a score of 0.\n\n
The response shall preserve the original meaning and use of modal verbs such as \"shall\", \"may\" or \"will\".\n\nPoints supported by data should list the relevant reports as references as follows:\n\"This is an example sentence supported by data references [Data: Reports (report ids)]\"\n\n**Do not list more than 5 record ids in a single reference**. Instead, list the top 5 most relevant record ids and add \"+more\" to indicate that there are more.\n\nFor example:\n\"Person X is the owner of Company Y and subject to many allegations of wrongdoing [Data: Reports (2, 7, 64, 46, 34, +more)].
He is also CEO of company X [Data: Reports (1, 3)]\"\n\nwhere 1, 2, 3, 7, 34, 46, and 64 represent the id (not the index) of the relevant data report in the provided tables.\n\nDo not include information where the supporting evidence for it is not provided.\n\nThe response should be JSON formatted as follows:\n{\n \"points\": [\n {\"description\": \"Description of point 1 [Data: Reports (report ids)]\", \"score\": score_value},\n {\"description\": \"Description of point 2 [Data: Reports (report ids)]\", \"score\": score_value}\n ]\n}\n"
},
{
"role": "user",
"content": "Who is Scrooge, and what are his main relationships?"
}
]