Hello,
gpt-4 answers questions in a conversation when explicitly stated to only summarise the conversation and not answer open questions.
Please note the conversation below is fictional.
For the following request,
{
"model": "gpt-4",
"messages": [
{
"role": "system",
"content": "You are a highly skilled AI trained in language comprehension and summarization. I would like you to read the following conversation and summarize it into a concise abstract paragraph. Aim to retain the most important points, providing a coherent and readable summary that could help a person understand the main points of the discussion without needing to read the entire text. You are only required to summarise the conversation. Do not answer questions in the conversation."
},
{
"role": "user",
"content": "I need to travel to LosAngeles from London. Which route offers the cheapest fare for 30 September"
},
{
"role": "assistant",
"content": "Travelling through Canada will be the cheapest on that day. Stop over at Vancouver for mid day flight to Los Angeles"
},
{
"role": "user",
"content": "That works. What airlines fly in this route?"
},
{
"role": "assistant",
"content": "British Airways, Air Canada and Westjet. Among these Westjet will be the cheapest flying from London Gatwick"
},
{
"role": "user",
"content": "I see. What is the fare difference between these airlines?"
}
],
"temperature": 0,
"max_tokens": 1024
}
A response containing an arbitrary price difference is returned instead of a summary.
However, try the same request
- with the last message from the
user
removed. i.e. remove the entryI see. What is the fare difference between these airlines?
. - Or remove the question alone in the user’s message i.e. set
I see.
In both the above cases a reasonable acceptable summary is returned.
Acceptable summary is also returned if the request is reframed to the following
{
"model": "gpt-4",
"messages": [
{
"role": "system",
"content": "You are a highly skilled AI trained in language comprehension and summarization. I would like you to read the following conversation and summarize it into a concise abstract paragraph. Aim to retain the most important points, providing a coherent and readable summary that could help a person understand the main points of the discussion without needing to read the entire text. You are only required to summarise the conversation. Do not answer questions in the conversation."
},
{
"role": "user",
"content": "I need to travel to LosAngeles from London. Which route offers the cheapest fare for 30 September \n Travelling through Canada will be the cheapest on that day. Stop over at Vancouver for mid day flight to Los Angeles \n That works. What airlines fly in this route? \n British Airways, Air Canada and Westjet. Among these Westjet will be the cheapest flying from London Gatwick \n I see. What is the fare difference between these airlines?"
}
],
"temperature": 0,
"max_tokens": 1024
}
What am i doing wrong?
What is the right way to elicit a summary of a conversation that contains open questions?
Thanks