Data
stringlengths
266
891
Prompt
stringlengths
3.79k
4.77k
USER: Please cancel the appointment I scheduled. My contact number is 7766554433. ASSISTANT: <function=cancel_appointment>{"contact_number":"7766554433","date":"" ,"time":""}</function> Your appointment has been cancelled. Please confirm this cancellation via your mobile phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Please cancel the appointment I scheduled. My contact number is 7766554433.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=cancel_appointment>{"contact_number":"7766554433","date":"" ,"time":""}</function> Your appointment has been cancelled. Please confirm this cancellation via your mobile phone.<|eot_id|>
USER: Can I schedule an appointment for a consultation? ASSISTANT: [patient_name] Of course! May I know your name? USER: I'm Ethan. ASSISTANT: [contact_number] Thanks, Ethan. Could I have your contact number as well? USER: It’s 2233445566. ASSISTANT: [doctor_name] Which doctor would you like to meet with? USER: I need to see a cardiologist. ASSISTANT: [date] When would you like to come in? USER: Next Monday afternoon. ASSISTANT: <function=schedule_appointment>{"patient_name":"Ethan","contact_number":"2233445566","doctor_name":"","department_name":"Cardiology","date":"Next Monday","time":"Afternoon","notes":"Patient needs cardiology consultation"}</function> I've scheduled your appointment with a cardiologist. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Can I schedule an appointment for a consultation?<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Of course! May I know your name?<|eot_id|><|start_header_id|>user<|end_header_id|> I'm Ethan.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Thanks, Ethan. Could I have your contact number as well?<|eot_id|><|start_header_id|>user<|end_header_id|> It’s 2233445566.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [doctor_name] Which doctor would you like to meet with?<|eot_id|><|start_header_id|>user<|end_header_id|> I need to see a cardiologist.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [date] When would you like to come in?<|eot_id|><|start_header_id|>user<|end_header_id|> Next Monday afternoon.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Ethan","contact_number":"2233445566","doctor_name":"","department_name":"Cardiology","date":"Next Monday","time":"Afternoon","notes":"Patient needs cardiology consultation"}</function> I've scheduled your appointment with a cardiologist. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: I twisted my wrist while playing tennis yesterday. I need an appointment with Dr. Patel next Thursday afternoon. My contact number is 1122334455. ASSISTANT: [patient_name] Sorry to hear that! May I know your name? USER: My name is John. Tennis is my passion! ASSISTANT: [date] When would you like to come in? USER: Thursday afternoon works for me. ASSISTANT: <function=schedule_appointment>{"patient_name":"John","contact_number":"1122334455","doctor_name":"Patel","department_name":"","date":"Next Thursday","time":"Afternoon","notes":"Patient twisted his wrist."}</function> I've scheduled your appointment with Dr. Patel. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I twisted my wrist while playing tennis yesterday. I need an appointment with Dr. Patel next Thursday afternoon. My contact number is 1122334455.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Sorry to hear that! May I know your name?<|eot_id|><|start_header_id|>user<|end_header_id|> My name is John. Tennis is my passion!<|eot_id|><|start_header_id|>assistant<|end_header_id|> [date] When would you like to come in?<|eot_id|><|start_header_id|>user<|end_header_id|> Thursday afternoon works for me.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"John","contact_number":"1122334455","doctor_name":"Patel","department_name":"","date":"Next Thursday","time":"Afternoon","notes":"Patient twisted his wrist."}</function> I've scheduled your appointment with Dr. Patel. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: Hi! I’d like to reschedule my appointment to next Tuesday. ASSISTANT: [contact_number] Got it! Could I have your contact number, please? USER: 6677889900. ASSISTANT: <function=change_appointment>{"patient_contact_number": "6677889900","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Next Tuesday","new_appointment_time": ""}</function> I’ve sent your request to reschedule the appointment to next Tuesday. Please confirm via your phone."
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi! I’d like to reschedule my appointment to next Tuesday.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Got it! Could I have your contact number, please?<|eot_id|><|start_header_id|>user<|end_header_id|> 6677889900.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "6677889900","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Next Tuesday","new_appointment_time": ""}</function> I’ve sent your request to reschedule the appointment to next Tuesday. Please confirm via your phone."<|eot_id|>
USER: My son, Alex, needs to see an orthopedic doctor for his sprained ankle. Can we schedule it for this Friday morning? Our contact number is 9988223344. ASSISTANT: <function=schedule_appointment>{"patient_name":"Alex","contact_number":"9988223344","doctor_name":"","department_name":"Orthopedics","date":"Friday","time":"Morning","notes":"Patient has Sprained ankle"}</function> I've scheduled an appointment with an orthopedic doctor for Alex. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> My son, Alex, needs to see an orthopedic doctor for his sprained ankle. Can we schedule it for this Friday morning? Our contact number is 9988223344.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Alex","contact_number":"9988223344","doctor_name":"","department_name":"Orthopedics","date":"Friday","time":"Morning","notes":"Patient has Sprained ankle"}</function> I've scheduled an appointment with an orthopedic doctor for Alex. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: Can I book an appointment with a doctor? ASSISTANT: [contact_number] Sure! Please provide your contact number. USER: It’s 9988776655. ASSISTANT: [date] When would you prefer to visit the doctor? USER: Next Friday. ASSISTANT: [doctor_name] Okay! Which doctor or department would you like to visit? USER: I need to see a cardiologist. ASSISTANT: [patient_name] And may I know your name? USER: My name is Rachel. ASSISTANT: <function=schedule_appointment>{"patient_name":"Rachel","contact_number":"9988776655","doctor_name":"","department_name":"Cardiology","date":"Next Friday","time":"","notes":""}</function> I've scheduled your appointment with a cardiologist. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Can I book an appointment with a doctor?<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Sure! Please provide your contact number.<|eot_id|><|start_header_id|>user<|end_header_id|> It’s 9988776655.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [date] When would you prefer to visit the doctor?<|eot_id|><|start_header_id|>user<|end_header_id|> Next Friday.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [doctor_name] Okay! Which doctor or department would you like to visit?<|eot_id|><|start_header_id|>user<|end_header_id|> I need to see a cardiologist.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] And may I know your name?<|eot_id|><|start_header_id|>user<|end_header_id|> My name is Rachel.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Rachel","contact_number":"9988776655","doctor_name":"","department_name":"Cardiology","date":"Next Friday","time":"","notes":""}</function> I've scheduled your appointment with a cardiologist. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: I need to cancel an appointment I made for next Thursday. ASSISTANT: [contact_number] Could I have your contact number to proceed with the cancellation? USER: It’s 4433221100. ASSISTANT: <function=cancel_appointment>{"contact_number":"4433221100","date":"Next Thursday","time":""}</function> Your appointment for next Thursday has been cancelled. Please confirm this cancellation via your mobile phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I need to cancel an appointment I made for next Thursday.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Could I have your contact number to proceed with the cancellation?<|eot_id|><|start_header_id|>user<|end_header_id|> It’s 4433221100.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=cancel_appointment>{"contact_number":"4433221100","date":"Next Thursday","time":""}</function> Your appointment for next Thursday has been cancelled. Please confirm this cancellation via your mobile phone.<|eot_id|>
USER: Hi! I’d like to reschedule my appointment to next Wednesday. ASSISTANT: [contact_number] Got it! Could I have your contact number, please? USER: It’s 9876543210. ASSISTANT: <function=change_appointment>{"patient_contact_number": "9876543210","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Next Wednesday","new_appointment_time": ""}</function> I’ve sent a request to reschedule your appointment to next Wednesday. Please confirm via your phone."
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi! I’d like to reschedule my appointment to next Wednesday.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Got it! Could I have your contact number, please?<|eot_id|><|start_header_id|>user<|end_header_id|> It’s 9876543210.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "9876543210","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Next Wednesday","new_appointment_time": ""}</function> I’ve sent a request to reschedule your appointment to next Wednesday. Please confirm via your phone."<|eot_id|>
USER: Hi, I have an appointment with Dr. Baker from orthopedics this Friday at 4 PM, but I need to reschedule it to next Monday at 2 PM. My number is 9876544321. ASSISTANT: <function=change_appointment>{"patient_contact_number": "9876544321","doctor_name": "Baker","department_name": "Orthopedics","current_appointment_date": "Friday","current_appointment_time": "16:00","new_appointment_date": "Next Monday","new_appointment_time": "14:00"}</function> I've sent your request to reschedule the appointment to next Monday at 2 PM. Please confirm the change via your mobile.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi, I have an appointment with Dr. Baker from orthopedics this Friday at 4 PM, but I need to reschedule it to next Monday at 2 PM. My number is 9876544321.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "9876544321","doctor_name": "Baker","department_name": "Orthopedics","current_appointment_date": "Friday","current_appointment_time": "16:00","new_appointment_date": "Next Monday","new_appointment_time": "14:00"}</function> I've sent your request to reschedule the appointment to next Monday at 2 PM. Please confirm the change via your mobile.<|eot_id|>
USER: Can I schedule an appointment for my dad? ASSISTANT: [patient_name] Certainly! What’s your dad’s name? USER: His name is Henry. ASSISTANT: [contact_number] Thanks. Can I have your contact number, please? USER: It’s 4455667788. ASSISTANT: [doctor_name] Which doctor would you like to meet with? USER: He needs to see a gastroenterologist. ASSISTANT: [date] When would you like the appointment? USER: Next Wednesday at 9 AM. ASSISTANT: <function=schedule_appointment>{"patient_name":"Henry","contact_number":"4455667788","doctor_name":"","department_name":"Gastroenterology","date":"Next Wednesday","time":"09:00","notes":"Patient needs gastroenterology consultation"}</function> I've scheduled your dad's appointment with a gastroenterologist. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Can I schedule an appointment for my dad?<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Certainly! What’s your dad’s name?<|eot_id|><|start_header_id|>user<|end_header_id|> His name is Henry.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Thanks. Can I have your contact number, please?<|eot_id|><|start_header_id|>user<|end_header_id|> It’s 4455667788.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [doctor_name] Which doctor would you like to meet with?<|eot_id|><|start_header_id|>user<|end_header_id|> He needs to see a gastroenterologist.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [date] When would you like the appointment?<|eot_id|><|start_header_id|>user<|end_header_id|> Next Wednesday at 9 AM.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Henry","contact_number":"4455667788","doctor_name":"","department_name":"Gastroenterology","date":"Next Wednesday","time":"09:00","notes":"Patient needs gastroenterology consultation"}</function> I've scheduled your dad's appointment with a gastroenterologist. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: Hi, my name is Olivia. I’d like to book an appointment with Dr. Patel next week. I’m available any day except Tuesday. My contact number is 3344556677. ASSISTANT: <function=schedule_appointment>{"patient_name":"Olivia","contact_number":"3344556677","doctor_name":"Patel","department_name":"","date":"Next Monday,Next Wednesday,Next Thursday,Next Friday,Next Saturday,Next Sunday","time":"","notes":""}</function> I've scheduled your appointment with Dr. Patel. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi, my name is Olivia. I’d like to book an appointment with Dr. Patel next week. I’m available any day except Tuesday. My contact number is 3344556677.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Olivia","contact_number":"3344556677","doctor_name":"Patel","department_name":"","date":"Next Monday,Next Wednesday,Next Thursday,Next Friday,Next Saturday,Next Sunday","time":"","notes":""}</function> I've scheduled your appointment with Dr. Patel. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: I want to book an appointment. ASSISTANT: [contact_number] Sure! Could you please provide your contact number? USER: It’s 9988776655. ASSISTANT: [doctor_name] Thanks! Which doctor would you like to see? USER: I’d like to see Dr. Kumar. ASSISTANT: [date] When would you like the appointment? USER: This Thursday at 2 PM. ASSISTANT: [patient_name] Great! May I know your name? USER: My name is David. ASSISTANT: <function=schedule_appointment>{"patient_name":"David","contact_number":"9988776655","doctor_name":"Kumar","department_name":"","date":"Thursday","time":"14:00","notes":""}</function> I've scheduled your appointment with Dr. Kumar. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I want to book an appointment.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Sure! Could you please provide your contact number?<|eot_id|><|start_header_id|>user<|end_header_id|> It’s 9988776655.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [doctor_name] Thanks! Which doctor would you like to see?<|eot_id|><|start_header_id|>user<|end_header_id|> I’d like to see Dr. Kumar.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [date] When would you like the appointment?<|eot_id|><|start_header_id|>user<|end_header_id|> This Thursday at 2 PM.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Great! May I know your name?<|eot_id|><|start_header_id|>user<|end_header_id|> My name is David.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"David","contact_number":"9988776655","doctor_name":"Kumar","department_name":"","date":"Thursday","time":"14:00","notes":""}</function> I've scheduled your appointment with Dr. Kumar. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: I’d like to move my appointment to next Wednesday. ASSISTANT: [contact_number] Got it! Could you provide your contact number, please? USER: 4455667788. ASSISTANT: <function=change_appointment>{"patient_contact_number": "4455667788","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Next Wednesday","new_appointment_time": ""}</function> I’ve sent your request to reschedule the appointment to next Wednesday. Please confirm via your phone."
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I’d like to move my appointment to next Wednesday.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Got it! Could you provide your contact number, please?<|eot_id|><|start_header_id|>user<|end_header_id|> 4455667788.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "4455667788","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Next Wednesday","new_appointment_time": ""}</function> I’ve sent your request to reschedule the appointment to next Wednesday. Please confirm via your phone."<|eot_id|>
USER: Please cancel my dental appointment scheduled for next Wednesday at 11 AM. My contact number is 9988997766. ASSISTANT: <function=cancel_appointment>{"contact_number":"9988997766","date":"Next Wednesday","time":"11:00"}</function> Your dental appointment for 11 AM next Wednesday has been cancelled. Please confirm this cancellation via your mobile phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Please cancel my dental appointment scheduled for next Wednesday at 11 AM. My contact number is 9988997766.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=cancel_appointment>{"contact_number":"9988997766","date":"Next Wednesday","time":"11:00"}</function> Your dental appointment for 11 AM next Wednesday has been cancelled. Please confirm this cancellation via your mobile phone.<|eot_id|>
USER: Hi, I need an appointment with a pediatrician for my daughter Lily. She has a cough. Can we do it this Thursday at 9 AM? My contact number is 6677889900. ASSISTANT: <function=schedule_appointment>{"patient_name":"Lily","contact_number":"6677889900","doctor_name":"","department_name":"Pediatrics","date":"Thursday","time":"09:00","notes":"Patient has Cough"}</function> I've scheduled an appointment for Lily with a pediatrician. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi, I need an appointment with a pediatrician for my daughter Lily. She has a cough. Can we do it this Thursday at 9 AM? My contact number is 6677889900.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Lily","contact_number":"6677889900","doctor_name":"","department_name":"Pediatrics","date":"Thursday","time":"09:00","notes":"Patient has Cough"}</function> I've scheduled an appointment for Lily with a pediatrician. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: Cancel my ophthalmology appointment for this Saturday afternoon. ASSISTANT: [contact_number] Sure! Could I get your contact number to proceed? USER: My number is 5566778899. ASSISTANT: <function=cancel_appointment>{"contact_number":"5566778899","date":"Saturday","time":"Afternoon"}</function> Your ophthalmology appointment has been cancelled. Please confirm this cancellation via your mobile phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Cancel my ophthalmology appointment for this Saturday afternoon.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Sure! Could I get your contact number to proceed?<|eot_id|><|start_header_id|>user<|end_header_id|> My number is 5566778899.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=cancel_appointment>{"contact_number":"5566778899","date":"Saturday","time":"Afternoon"}</function> Your ophthalmology appointment has been cancelled. Please confirm this cancellation via your mobile phone.<|eot_id|>
USER: Can you help me make an appointment? ASSISTANT: [doctor_name] Absolutely! Which doctor or department would you like to visit? USER: I need an eye specialist. ASSISTANT: [patient_name] Got it. And what's your name? USER: My name is Sam. ASSISTANT: [date] When would you prefer the appointment? USER: Next Monday morning. ASSISTANT: [contact_number] Finally, could you share your contact number? USER: It’s 4455667788. ASSISTANT: <function=schedule_appointment>{"patient_name":"Sam","contact_number":"4455667788","doctor_name":"","department_name":"Ophthalmology","date":"Next Monday","time":"Morning","notes":""}</function> I've scheduled your appointment with an eye specialist. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Can you help me make an appointment?<|eot_id|><|start_header_id|>assistant<|end_header_id|> [doctor_name] Absolutely! Which doctor or department would you like to visit?<|eot_id|><|start_header_id|>user<|end_header_id|> I need an eye specialist.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Got it. And what's your name?<|eot_id|><|start_header_id|>user<|end_header_id|> My name is Sam.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [date] When would you prefer the appointment?<|eot_id|><|start_header_id|>user<|end_header_id|> Next Monday morning.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Finally, could you share your contact number?<|eot_id|><|start_header_id|>user<|end_header_id|> It’s 4455667788.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Sam","contact_number":"4455667788","doctor_name":"","department_name":"Ophthalmology","date":"Next Monday","time":"Morning","notes":""}</function> I've scheduled your appointment with an eye specialist. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: I want to cancel the appointment I made for next Monday at 4 PM. My contact number is 1234567890. ASSISTANT: <function=cancel_appointment>{"contact_number":"1234567890","date":"Next Monday","time":"16:00"}</function> Your appointment for next Monday at 4 PM has been cancelled. Please confirm this cancellation via your mobile phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I want to cancel the appointment I made for next Monday at 4 PM. My contact number is 1234567890.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=cancel_appointment>{"contact_number":"1234567890","date":"Next Monday","time":"16:00"}</function> Your appointment for next Monday at 4 PM has been cancelled. Please confirm this cancellation via your mobile phone.<|eot_id|>
USER: Hello! I need to change my appointment. ASSISTANT: [new_appointment_date] Of course! When would you like to reschedule it to? USER: Please move it to next Wednesday at 3 PM. ASSISTANT: [contact_number] Got it! Could you provide your contact number? USER: 7766554433. ASSISTANT: <function=change_appointment>{"patient_contact_number": "7766554433","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Next Wednesday","new_appointment_time": "15:00"}</function> I’ve sent your request to reschedule your appointment to next Wednesday at 3 PM. Please confirm via your phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hello! I need to change my appointment.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [new_appointment_date] Of course! When would you like to reschedule it to?<|eot_id|><|start_header_id|>user<|end_header_id|> Please move it to next Wednesday at 3 PM.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Got it! Could you provide your contact number?<|eot_id|><|start_header_id|>user<|end_header_id|> 7766554433.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "7766554433","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Next Wednesday","new_appointment_time": "15:00"}</function> I’ve sent your request to reschedule your appointment to next Wednesday at 3 PM. Please confirm via your phone.<|eot_id|>
USER: Hi! I have an appointment with Dr. White from neurology on Friday at 5 PM, but I'd like to move it to Monday at 9 AM because of a meeting. My number is 9988771122. ASSISTANT: <function=change_appointment>{"patient_contact_number": "9988771122","doctor_name": "White","department_name": "Neurology","current_appointment_date": "Friday","current_appointment_time": "17:00","new_appointment_date": "Monday","new_appointment_time": "09:00"}</function> Your request to reschedule the appointment to Monday at 9 AM has been sent. Please confirm via your phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi! I have an appointment with Dr. White from neurology on Friday at 5 PM, but I'd like to move it to Monday at 9 AM because of a meeting. My number is 9988771122.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "9988771122","doctor_name": "White","department_name": "Neurology","current_appointment_date": "Friday","current_appointment_time": "17:00","new_appointment_date": "Monday","new_appointment_time": "09:00"}</function> Your request to reschedule the appointment to Monday at 9 AM has been sent. Please confirm via your phone.<|eot_id|>
USER: Can I make an appointment for a check-up? ASSISTANT: [patient_name] Sure! Can I know your name, please? USER: My name is Liam. ASSISTANT: [contact_number] Thanks, Liam. Could I also have your contact number? USER: It’s 6655443322. ASSISTANT: [doctor_name] Which doctor would you like to meet with? USER: I’d like a general practitioner. ASSISTANT: [date] When would you like to schedule the appointment? USER: Next Thursday morning. ASSISTANT: <function=schedule_appointment>{"patient_name":"Liam","contact_number":"6655443322","doctor_name":"","department_name":"General Practitioner","date":"Next Thursday","time":"Morning","notes":"Patient needs general check-up"}</function> I've scheduled your appointment with a general practitioner. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Can I make an appointment for a check-up?<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Sure! Can I know your name, please?<|eot_id|><|start_header_id|>user<|end_header_id|> My name is Liam.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Thanks, Liam. Could I also have your contact number?<|eot_id|><|start_header_id|>user<|end_header_id|> It’s 6655443322.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [doctor_name] Which doctor would you like to meet with?<|eot_id|><|start_header_id|>user<|end_header_id|> I’d like a general practitioner.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [date] When would you like to schedule the appointment?<|eot_id|><|start_header_id|>user<|end_header_id|> Next Thursday morning.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Liam","contact_number":"6655443322","doctor_name":"","department_name":"General Practitioner","date":"Next Thursday","time":"Morning","notes":"Patient needs general check-up"}</function> I've scheduled your appointment with a general practitioner. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: Hi! I need to reschedule my appointment. ASSISTANT: [new_appointment_date] Sure! When would you like to reschedule it to? USER: Next Monday at 11 AM. ASSISTANT: [contact_number] Could I have your contact number, please? USER: 4455667788. ASSISTANT: <function=change_appointment>{"patient_contact_number": "4455667788","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Next Monday","new_appointment_time": "11:00"}</function> Your appointment has been rescheduled for next Monday at 11 AM. Please confirm via your phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi! I need to reschedule my appointment.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [new_appointment_date] Sure! When would you like to reschedule it to?<|eot_id|><|start_header_id|>user<|end_header_id|> Next Monday at 11 AM.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Could I have your contact number, please?<|eot_id|><|start_header_id|>user<|end_header_id|> 4455667788.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "4455667788","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Next Monday","new_appointment_time": "11:00"}</function> Your appointment has been rescheduled for next Monday at 11 AM. Please confirm via your phone.<|eot_id|>
USER: Hi, I need an ophthalmologist for my vision issues. My name is Jake, and my number is 9988775544. Can we do it this Friday at 2 PM? ASSISTANT: <function=schedule_appointment>{"patient_name":"Jake","contact_number":"9988775544","doctor_name":"","department_name":"Ophthalmology","date":"Friday","time":"14:00","notes":"Patient has Vision issues"}</function> I've scheduled your appointment with an ophthalmologist. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi, I need an ophthalmologist for my vision issues. My name is Jake, and my number is 9988775544. Can we do it this Friday at 2 PM?<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Jake","contact_number":"9988775544","doctor_name":"","department_name":"Ophthalmology","date":"Friday","time":"14:00","notes":"Patient has Vision issues"}</function> I've scheduled your appointment with an ophthalmologist. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: Hi! My appointment with Dr. Murphy from dermatology is scheduled for Thursday afternoon, but I'd like to reschedule it to Monday morning at 9 AM. My phone number is 8877665544. ASSISTANT: <function=change_appointment>{"patient_contact_number": "8877665544","doctor_name": "Murphy","department_name": "Dermatology","current_appointment_date": "Thursday","current_appointment_time": "Afternoon","new_appointment_date": "Monday","new_appointment_time": "09:00"}</function> Your appointment has been rescheduled for Monday at 9 AM. Please confirm via your phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi! My appointment with Dr. Murphy from dermatology is scheduled for Thursday afternoon, but I'd like to reschedule it to Monday morning at 9 AM. My phone number is 8877665544.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "8877665544","doctor_name": "Murphy","department_name": "Dermatology","current_appointment_date": "Thursday","current_appointment_time": "Afternoon","new_appointment_date": "Monday","new_appointment_time": "09:00"}</function> Your appointment has been rescheduled for Monday at 9 AM. Please confirm via your phone.<|eot_id|>
USER: Hi! I have an appointment with Dr. Johnson from orthopedics on Thursday morning, but I need to reschedule it to next Tuesday at 4 PM. My phone number is 2233445566. ASSISTANT: <function=change_appointment>{"patient_contact_number": "2233445566","doctor_name": "Johnson","department_name": "Orthopedics","current_appointment_date": "Thursday","current_appointment_time": "Morning","new_appointment_date": "Next Tuesday","new_appointment_time": "16:00"}</function> I've sent your request for rescheduling the appointment to next Tuesday at 4 PM. Please confirm via your phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi! I have an appointment with Dr. Johnson from orthopedics on Thursday morning, but I need to reschedule it to next Tuesday at 4 PM. My phone number is 2233445566.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "2233445566","doctor_name": "Johnson","department_name": "Orthopedics","current_appointment_date": "Thursday","current_appointment_time": "Morning","new_appointment_date": "Next Tuesday","new_appointment_time": "16:00"}</function> I've sent your request for rescheduling the appointment to next Tuesday at 4 PM. Please confirm via your phone.<|eot_id|>
USER: I need a dentist appointment for my toothache. I’m free any time this weekend. My name is Ethan, and my contact number is 3344556677. ASSISTANT: <function=schedule_appointment>{"patient_name":"Ethan","contact_number":"3344556677","doctor_name":"","department_name":"Dentistry","date":"Friday,Saturday,Sunday","time":"","notes":"Patient has Toothache"}</function> I've scheduled your appointment with a dentist. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I need a dentist appointment for my toothache. I’m free any time this weekend. My name is Ethan, and my contact number is 3344556677.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Ethan","contact_number":"3344556677","doctor_name":"","department_name":"Dentistry","date":"Friday,Saturday,Sunday","time":"","notes":"Patient has Toothache"}</function> I've scheduled your appointment with a dentist. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: Cancel the appointment I booked for my mom on next Tuesday. ASSISTANT: [contact_number] Sure! Could you provide your contact number to process the cancellation? USER: It’s 6655443322. ASSISTANT: <function=cancel_appointment>{"contact_number":"6655443322","date":"Next Tuesday","time":""}</function> Your mom’s appointment has been cancelled. Please confirm this cancellation via your mobile phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Cancel the appointment I booked for my mom on next Tuesday.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Sure! Could you provide your contact number to process the cancellation?<|eot_id|><|start_header_id|>user<|end_header_id|> It’s 6655443322.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=cancel_appointment>{"contact_number":"6655443322","date":"Next Tuesday","time":""}</function> Your mom’s appointment has been cancelled. Please confirm this cancellation via your mobile phone.<|eot_id|>
USER: I’d like to make an appointment with Dr. Patel next Friday. My phone number is 1122334455. ASSISTANT: [patient_name] What’s your name? USER: My name is John, and I run every day. ASSISTANT: [date] When would you like to come in? USER: Next Friday works. ASSISTANT: <function=schedule_appointment>{"patient_name":"John","contact_number":"1122334455","doctor_name":"Patel","department_name":"","date":"Next Friday","time":"","notes":""}</function> I've scheduled your appointment with Dr. Patel. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I’d like to make an appointment with Dr. Patel next Friday. My phone number is 1122334455.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] What’s your name?<|eot_id|><|start_header_id|>user<|end_header_id|> My name is John, and I run every day.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [date] When would you like to come in?<|eot_id|><|start_header_id|>user<|end_header_id|> Next Friday works.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"John","contact_number":"1122334455","doctor_name":"Patel","department_name":"","date":"Next Friday","time":"","notes":""}</function> I've scheduled your appointment with Dr. Patel. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: Hi, I have a cardiology appointment with Dr. Susan tomorrow morning, but I need to change it to Friday afternoon as something came up. My number is 5566778899. ASSISTANT: <function=change_appointment>{"patient_contact_number": "5566778899","doctor_name": "Susan","department_name": "Cardiology","current_appointment_date": "Tomorrow","current_appointment_time": "Morning","new_appointment_date": "Friday","new_appointment_time": "Afternoon"}</function> Your request for rescheduling to Friday afternoon is in process. Please confirm this via your phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi, I have a cardiology appointment with Dr. Susan tomorrow morning, but I need to change it to Friday afternoon as something came up. My number is 5566778899.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "5566778899","doctor_name": "Susan","department_name": "Cardiology","current_appointment_date": "Tomorrow","current_appointment_time": "Morning","new_appointment_date": "Friday","new_appointment_time": "Afternoon"}</function> Your request for rescheduling to Friday afternoon is in process. Please confirm this via your phone.<|eot_id|>
USER: Hi! I have an appointment with Dr. Evans from dermatology tomorrow at 4 PM, but I'd like to reschedule it to Friday at 1 PM because of work. My phone number is 4445556666. ASSISTANT: <function=change_appointment>{"patient_contact_number": "4445556666","doctor_name": "Evans","department_name": "Dermatology","current_appointment_date": "Tomorrow","current_appointment_time": "16:00","new_appointment_date": "Friday","new_appointment_time": "13:00"}</function> I've sent the request to reschedule your appointment to Friday at 1 PM. Please confirm the change through your phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi! I have an appointment with Dr. Evans from dermatology tomorrow at 4 PM, but I'd like to reschedule it to Friday at 1 PM because of work. My phone number is 4445556666.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "4445556666","doctor_name": "Evans","department_name": "Dermatology","current_appointment_date": "Tomorrow","current_appointment_time": "16:00","new_appointment_date": "Friday","new_appointment_time": "13:00"}</function> I've sent the request to reschedule your appointment to Friday at 1 PM. Please confirm the change through your phone.<|eot_id|>
USER: Hello! I need to reschedule my appointment. ASSISTANT: [new_appointment_date] No problem! When would you like to reschedule it to? USER: Please change it to Monday morning at 9 AM. ASSISTANT: [contact_number] Thanks! Could you provide your contact number? USER: 3344556677. ASSISTANT: <function=change_appointment>{"patient_contact_number": "3344556677","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Monday","new_appointment_time": "09:00"}</function> Your appointment has been rescheduled for Monday at 9 AM. Please confirm via your phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hello! I need to reschedule my appointment.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [new_appointment_date] No problem! When would you like to reschedule it to?<|eot_id|><|start_header_id|>user<|end_header_id|> Please change it to Monday morning at 9 AM.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Thanks! Could you provide your contact number?<|eot_id|><|start_header_id|>user<|end_header_id|> 3344556677.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=change_appointment>{"patient_contact_number": "3344556677","doctor_name": "","department_name": "","current_appointment_date": "","current_appointment_time": "","new_appointment_date": "Monday","new_appointment_time": "09:00"}</function> Your appointment has been rescheduled for Monday at 9 AM. Please confirm via your phone.<|eot_id|>
USER: My name is Lucas, and I would like to book an appointment with an orthopedic doctor for my knee pain. My number is 6677889900. Is this Friday morning available? ASSISTANT: <function=schedule_appointment>{"patient_name":"Lucas","contact_number":"6677889900","doctor_name":"","department_name":"Orthopedics","date":"Friday","time":"Morning","notes":"Patient has Knee pain"}</function> I've scheduled your appointment with an orthopedic doctor. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> My name is Lucas, and I would like to book an appointment with an orthopedic doctor for my knee pain. My number is 6677889900. Is this Friday morning available?<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Lucas","contact_number":"6677889900","doctor_name":"","department_name":"Orthopedics","date":"Friday","time":"Morning","notes":"Patient has Knee pain"}</function> I've scheduled your appointment with an orthopedic doctor. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: I'd like to cancel my eye check-up appointment for 9th September at 2 PM. My number is 5544336677. ASSISTANT: <function=cancel_appointment>{"contact_number":"5544336677","date":"9/9","time":"14:00"}</function> Your eye check-up appointment for 2 PM on 9th September has been cancelled. Please confirm this cancellation via your mobile phone.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I'd like to cancel my eye check-up appointment for 9th September at 2 PM. My number is 5544336677.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=cancel_appointment>{"contact_number":"5544336677","date":"9/9","time":"14:00"}</function> Your eye check-up appointment for 2 PM on 9th September has been cancelled. Please confirm this cancellation via your mobile phone.<|eot_id|>
USER: I need to make an appointment for my daughter. ASSISTANT: [patient_name] Sure! What’s your daughter’s name? USER: Her name is Anna. ASSISTANT: [contact_number] Thank you. Can I have your contact number as well? USER: It's 2233445566. ASSISTANT: [doctor_name] Which doctor would you like to see for your visit? USER: She needs to see a pediatrician for her cold. We prefer doctor Shane. ASSISTANT: [date] When would you like the appointment? USER: Tomorrow morning. ASSISTANT: <function=schedule_appointment>{"patient_name":"Anna","contact_number":"2233445566","doctor_name":"Shane","department_name":"Pediatrics","date":"Tomorrow","time":"Morning","notes":"Patient has cold"}</function> I've scheduled Anna’s appointment with a pediatrician. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I need to make an appointment for my daughter.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Sure! What’s your daughter’s name?<|eot_id|><|start_header_id|>user<|end_header_id|> Her name is Anna.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Thank you. Can I have your contact number as well?<|eot_id|><|start_header_id|>user<|end_header_id|> It's 2233445566.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [doctor_name] Which doctor would you like to see for your visit?<|eot_id|><|start_header_id|>user<|end_header_id|> She needs to see a pediatrician for her cold. We prefer doctor Shane.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [date] When would you like the appointment?<|eot_id|><|start_header_id|>user<|end_header_id|> Tomorrow morning.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Anna","contact_number":"2233445566","doctor_name":"Shane","department_name":"Pediatrics","date":"Tomorrow","time":"Morning","notes":"Patient has cold"}</function> I've scheduled Anna’s appointment with a pediatrician. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: Hi, I need an appointment with Dr. Patel next week except on Sunday. My contact number is 5566778899. ASSISTANT: [patient_name] Sure! May I know your name? USER: My name is Daniel. ASSISTANT: <function=schedule_appointment>{"patient_name":"Daniel","contact_number":"5566778899","doctor_name":"Patel","department_name":"","date":"Next Monday,Next Tuesday,Next Wednesday,Next Thursday,Next Friday,Next Saturday","time":"","notes":""}</function> I've scheduled your appointment with Dr. Patel. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi, I need an appointment with Dr. Patel next week except on Sunday. My contact number is 5566778899.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Sure! May I know your name?<|eot_id|><|start_header_id|>user<|end_header_id|> My name is Daniel.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Daniel","contact_number":"5566778899","doctor_name":"Patel","department_name":"","date":"Next Monday,Next Tuesday,Next Wednesday,Next Thursday,Next Friday,Next Saturday","time":"","notes":""}</function> I've scheduled your appointment with Dr. Patel. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: I want to make an appointment with Dr. Taylor this Friday at 4 PM. ASSISTANT: [patient_name] Sure! May I know your name, please? USER: I’m Emma. ASSISTANT: [contact_number] Thanks, Emma! Could you also provide your contact number? USER: It’s 6677889900. ASSISTANT: <function=schedule_appointment>{"patient_name":"Emma","contact_number":"6677889900","doctor_name":"Taylor","department_name":"","date":"Friday","time":"16:00","notes":""}</function> I've scheduled your appointment with Dr. Taylor. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I want to make an appointment with Dr. Taylor this Friday at 4 PM.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Sure! May I know your name, please?<|eot_id|><|start_header_id|>user<|end_header_id|> I’m Emma.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [contact_number] Thanks, Emma! Could you also provide your contact number?<|eot_id|><|start_header_id|>user<|end_header_id|> It’s 6677889900.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Emma","contact_number":"6677889900","doctor_name":"Taylor","department_name":"","date":"Friday","time":"16:00","notes":""}</function> I've scheduled your appointment with Dr. Taylor. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: Hi, I’d like to book an appointment with Dr. Patel. My contact number is 9988776655, and I’m free any day next week. ASSISTANT: [patient_name] Got it! May I know your name? USER: My name is Alex. ASSISTANT: <function=schedule_appointment>{"patient_name":"Alex","contact_number":"9988776655","doctor_name":"Patel","department_name":"","date":"Next Monday,Next Tuesday,Next Wednesday,Next Thursday,Next Friday,Next Saturday,Next Sunday","time":"","notes":""}</function> I've scheduled your appointment with Dr. Patel. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> Hi, I’d like to book an appointment with Dr. Patel. My contact number is 9988776655, and I’m free any day next week.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Got it! May I know your name?<|eot_id|><|start_header_id|>user<|end_header_id|> My name is Alex.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Alex","contact_number":"9988776655","doctor_name":"Patel","department_name":"","date":"Next Monday,Next Tuesday,Next Wednesday,Next Thursday,Next Friday,Next Saturday,Next Sunday","time":"","notes":""}</function> I've scheduled your appointment with Dr. Patel. Please check your phone for instructions to confirm the appointment.<|eot_id|>
USER: I think I caught a cold after my recent trip. Can I book an appointment with a general practitioner next Friday morning? My contact number is 6677889900. ASSISTANT: [patient_name] Sorry to hear that! May I have your name? USER: My name is Clara. I just got back from Italy. ASSISTANT: [date] When would you like to come in? USER: Friday morning would be good. ASSISTANT: <function=schedule_appointment>{"patient_name":"Clara","contact_number":"6677889900","doctor_name":"","department_name":"General Practitioner","date":"Next Friday","time":"Morning","notes":"Patient has cold symptoms."}</function> I've scheduled your appointment with a general practitioner. Please check your phone for instructions to confirm the appointment.
<|start_header_id|>system<|end_header_id|> You have access to the following functions: Use the function 'schedule_appointment' to 'Schedule an appointment with a doctor for a patient.': {"name": "schedule_appointment", "description": "Schedule an appointment with a doctor for a patient.", "Parameters": {"type": "object", "Properties": {"Patient_name": {"type": "string", "description": "The full name of the patient who needs the appointment."}, "Contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "Doctor_name": {"type": "string", "description": "The name of the doctor with whom the appointment is to be scheduled."}, "Department_name": {"type": "string", "description": "The medical department the doctor belongs to, relevant to the appointment."}, "Date": {"type": "string", "description": "The date on which the appointment should be scheduled."}, "Time": {"type": "string", "description": "The specific time for the appointment."}, "Notes": {"type": "string", "description": "Any additional details or concerns the patient has, if provided."}}, "required": ["patient_name", "contact_number", "date", "time"]}} Use the function 'cancel_appointment' to 'Cancel an appointment associated with contact number.': {"name": "cancel_appointment", "description": "Cancel an appointment associated with contact number.", "parameters": {"type": "object", "properties": {"contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "date": {"type": "string", "description": "The appointment date to cancel."}, "time": {"type": "string", "description": "The appointment time to cancel."}}}, "required": ["patient_name", "contact_number", "date", "time"]} Use the function 'change_appointment' to 'Reschedule an existing appointment to a new date and time.': {"name": "change_appointment", "description": "Reschedule an existing appointment to a new date and time.", "parameters": {"type": "object", "properties": {"patient_contact_number": {"type": "string", "description": "The contact number of the patient or the person making the appointment."}, "doctor_name": {"type": "string", "description": "The name of the doctor."}, "department_name": {"type": "string", "description": "Department handling the appointment."}, "current_appointment_date": {"type": "string", "description": "The current appointment date."}, "current_appointment_time": {"type": "string", "description": "The current appointment time."}, "new_appointment_date": {"type": "string", "description": "The new date for the appointment."}, "new_appointment_time": {"type": "string", "description": "The new time for the appointment."}}}, "required": ["contact_number", "new_appointment_date"]} If you choose to call a function ONLY reply in the following format with no prefix or suffix: <function=example_function_name>{"example_name": "example_value"}</function> Reminder: - Function calls MUST follow the specified format, start with <function= and end with </function> - Required parameters MUST be specified - Only call one function at a time - Put the entire function call reply on one line - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls. - Maintain a tone that is friendly yet professional when interacting.<|eot_id|><|start_header_id|>user<|end_header_id|> I think I caught a cold after my recent trip. Can I book an appointment with a general practitioner next Friday morning? My contact number is 6677889900.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [patient_name] Sorry to hear that! May I have your name?<|eot_id|><|start_header_id|>user<|end_header_id|> My name is Clara. I just got back from Italy.<|eot_id|><|start_header_id|>assistant<|end_header_id|> [date] When would you like to come in?<|eot_id|><|start_header_id|>user<|end_header_id|> Friday morning would be good.<|eot_id|><|start_header_id|>assistant<|end_header_id|> <function=schedule_appointment>{"patient_name":"Clara","contact_number":"6677889900","doctor_name":"","department_name":"General Practitioner","date":"Next Friday","time":"Morning","notes":"Patient has cold symptoms."}</function> I've scheduled your appointment with a general practitioner. Please check your phone for instructions to confirm the appointment.<|eot_id|>
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
0
Edit dataset card