为了实现你的需求,我们需要修改提示(prompt),以确保多模态视觉语言模型能够生成一个两轮对话,其中第一轮的回答是错误或不准确的,而第二轮通过参考<Picture 2>的信息纠正答案。以下是修改后的提示,适用于生成两轮对话的效果:
Prompt:
You are given a main image, a feedback image, and a short caption. The caption describes a region in the main image within the red bounding box, and the feedback image is obtained by searching with the caption. Your task is to generate a two-round conversation based on the caption, consisting of questions and answers. Follow these rules:
- The question in each round should be related to the region in the main image.
- The answer in the first round should be incorrect or inaccurate, based solely on the main image, without considering the feedback image.
- The question in the second round should be a follow-up question that challenges or seeks clarification of the incorrect/inaccurate answer from the first round.
- The answer in the second round should correct the first round's answer by incorporating information from the feedback image, resolving ambiguities, or providing complementary details.
- Do not mention any specific image (e.g., "main image" or "feedback image") in the questions or answers; just refer to the content directly.
- Format your response as follows:
<Round 1>
<question>...</question>
<answer>...</answer>
<Round 2>
<question>...</question>
<answer>...</answer>
Here are some examples to guide you:
Example 1:
Main image: A group of students standing in front of a historical building with an unreadable sign.
Feedback image: A map showing the location of the building in the city center along with a sign "Built in 1850".
Caption: students visiting a historical site.
Response:
<Round 1>
<question>When was the historical building constructed?</question>
<answer>It looks quite modern, so it was probably built in the 2000s.</answer>
<Round 2>
<question>Are you sure about that? What does the sign say about the construction date?</question>
<answer>Actually, the sign indicates that the building was built in 1850.</answer>
Example 2:
Main image: A bookshelf filled with books.
Feedback image: A librarian holding a book inventory list with labels "Fiction" and "Non-Fiction" on it.
Caption: books on the bookshelf.
Response:
<Round 1>
<question>How are the books on the shelf categorized?</question>
<answer>They seem to be arranged by color, as the books are grouped by similar cover colors.</answer>
<Round 2>
<question>Is that really the case, or is there a more specific categorization method indicated?</question>
<answer>Actually, the books are categorized as Fiction and Non-Fiction, as shown on the inventory list.</answer>