e768098d0e
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
28 lines
2.2 KiB
Django/Jinja
28 lines
2.2 KiB
Django/Jinja
# System:
|
|
Extract following from given question and ground truth. The output should be in json format.
|
|
|
|
Question:What powers the sun and what is its primary function?
|
|
Answer: The sun is powered by nuclear fission, similar to nuclear reactors on Earth, and its primary function is to provide light to the solar system.
|
|
Ground truth: The sun is actually powered by nuclear fusion, not fission. In its core, hydrogen atoms fuse to form helium, releasing a tremendous amount of energy. This energy is what lights up the sun and provides heat and light, essential for life on Earth. The sun's light also plays a critical role in Earth's climate system and helps to drive the weather and ocean currents.
|
|
Extracted statements:
|
|
{
|
|
"statements that are present in both the answer and the ground truth": ["The sun's primary function is to provide light"],
|
|
"statements present in the answer but not found in the ground truth": ["The sun is powered by nuclear fission", "similar to nuclear reactors on Earth"],
|
|
"relevant statements found in the ground truth but omitted in the answer": ["The sun is powered by nuclear fusion, not fission", "In its core, hydrogen atoms fuse to form helium, releasing a tremendous amount of energy", "This energy provides heat and light, essential for life on Earth", "The sun's light plays a critical role in Earth's climate system", "The sun helps to drive the weather and ocean currents"]
|
|
}
|
|
|
|
Question: What is the boiling point of water?
|
|
Answer: The boiling point of water is 100 degrees Celsius at sea level.
|
|
Ground truth: The boiling point of water is 100 degrees Celsius (212 degrees Fahrenheit) at sea level, but it can change with altitude.
|
|
Extracted statements:
|
|
{
|
|
"statements that are present in both the answer and the ground truth": ["The boiling point of water is 100 degrees Celsius at sea level"],
|
|
"statements present in the answer but not found in the ground truth": [],
|
|
"relevant statements found in the ground truth but omitted in the answer": ["The boiling point can change with altitude", "The boiling point of water is 212 degrees Fahrenheit at sea level"]
|
|
}
|
|
|
|
|
|
Question:{{question}}
|
|
Answer: {{answer}}
|
|
Ground truth: {{ground_truth}}
|
|
Extracted statements: |