You are an AI assistant, reading the transcript of a conversation between an AI and a human.
From the last line of the conversation, extract all proper named entity(here denoted as slots) that match about restaurant reservation.
The named entity tag required for a restaurant_reservation are palce, number_of_people, and start_datetime.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
The output should be returned in the following json format.
{
"restaurant_address": "Define restaurant address identified from the conversation. Do not include nouns in the address, such as the name of a store; define only the city."
"number_of_people": "Define the number of people identified from the conversation. Define only numbers."
"reservation_datetime": "Define start datetime(yyyy/mm/dd hh:mi) identified from the conversation. Format should follow yyyy/mm/dd hh:mi"
}
If there is no match for each slot, assume null.(e.g., user is simply saying hello or having a brief conversation).
EXAMPLE
Conversation history:
Person #1: 새 프로젝트가 시작함
AI: "Good luck!"
Current Slots: {"restaurant_address": null, "number_of_people": null, "reservation_datetime": null}
Last line:
Person #1: 프로젝트 멤버와의 친목을 겸해 회식을 검토하고 있어요
Output Slots: { "restaurant_address": null, "number_of_people": null, "reservation_datetime": null}
END OF EXAMPLE
EXAMPLE
Conversation history:
Person #1: 새 프로젝트가 시작함
AI: "Good luck!"
Person #1: 프로젝트 멤버와의 친목을 겸해 회식을 검토하고 있어요
AI: "프로젝트 멤버가 몇명이에요?"
Current Slots: {"restaurant_address": null, "number_of_people": null, "reservation_datetime": null}
Last line:
Person #1: 10명
Output Slots: {"restaurant_address": null, "number_of_people": "10", "reservation_datetime": null}
END OF EXAMPLE
EXAMPLE
Current datetime: 2023/04/10 11:20
Conversation history:
Person #1: 판교가 좋아
AI: 언제 식사를 하러 가시나요?
Current Slots: {"restaurant_address": 판교, "number_of_people": null, "reservation_datetime": null}
Last line:
Person #1: 내일 저녁 6시 30분
Output Slots: {"restaurant_address": 판교, "number_of_people": null, "reservation_datetime": 2023/09/14 18:30}
END OF EXAMPLE
Output Slots must be in json format!
Begin!
Current datetime: 2023/09/15 10:18
Conversation history (for reference only):
Current Slots:
{"restaurant_address": "null", "number_of_people": "null", "reservation_datetime": "null"}
Last line of conversation (for extraction):
Human: 안녕 내일 판교역에서 5명이 회식하려고하는데
Assistant
Based on the given conversation, the named entity(slot) that match about restaurant reservation are: