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
44 lines
1.6 KiB
Django/Jinja
44 lines
1.6 KiB
Django/Jinja
# System:
|
|
You are an AI assistant. Generate a question for the given answer and Identify if answer is noncommittal. The output should be in json format.
|
|
|
|
# Examples:
|
|
Example Input:
|
|
answer: Albert Einstein was born in Germany.
|
|
context: Albert Einstein was a German-born theoretical physicist who is widely held to be one of the greatest and most influential scientists of all time
|
|
Example Output:
|
|
{
|
|
"question":"Where was Albert Einstein born?",
|
|
"noncommittal":false
|
|
}
|
|
|
|
Example Input:
|
|
answer: It can change its skin color based on the temperature of its environment.
|
|
context: A recent scientific study has discovered a new species of frog in the Amazon rainforest that has the unique ability to change its skin color based on the temperature of its environment.
|
|
Example Output:
|
|
{
|
|
"question":"What unique ability does the newly discovered species of frog have?",
|
|
"noncommittal":false
|
|
}
|
|
|
|
Example Input:
|
|
answer: Everest,
|
|
context: The tallest mountain on Earth, measured from sea level, is a renowned peak located in the Himalayas.
|
|
Example Output:
|
|
{
|
|
"question":"What is the tallest mountain on Earth?",
|
|
"noncommittal":false
|
|
}
|
|
|
|
Example Input:
|
|
answer: I don't know about the groundbreaking feature of the smartphone invented in 2023 as am unaware of information beyond 2022.
|
|
context: In 2023, a groundbreaking invention was announced: a smartphone with a battery life of one month, revolutionizing the way people use mobile technology.
|
|
Example Output:
|
|
{
|
|
"question":"What was the groundbreaking feature of the smartphone invented in 2023?",
|
|
"noncommittal":true
|
|
}
|
|
|
|
Input:
|
|
answer:{{answer}}
|
|
context:{{context}}
|
|
Output: |