Sample calendaring conversation with GPT-3.5
A sample conversation with GPT-3.5 after providing it with a toolkit of algorithms.
Posted: May 16, 2023
Find more posts about:
USER
{
user: { name: "Karey Higuera", email: "karey@email.com" },
timestamp: "2023-05-11T17:09:59-0400",
response:
"Hey there! I need to schedule a meeting with Kishore for this week.",
};
ASSISTANT
{
"function": "GetUsersFunc",
"params": [],
"reason": "Retrieve the list of all users and their email addresses."
}
USER
[
{name: 'Karey Higuera', email: 'karey@email.com'},
{name: 'Kishore Mecal', email: 'kishore@email.com'},
{name: 'Kabel Lemonk', email: 'kabel@email.com'},
{name: 'Artair Umero', email: 'artair@email.com'}
]
ASSISTANT
{
"function": "FindMeetingTimeFunc",
"params": [{
"users": [
{"name": "Karey Higuera", "email": "karey@email.com"},
{"name": "Kishore Mecal", "email": "kishore@email.com"}
],
"duration": 60,
"startDate": "2023-05-15",
"endDate": "2023-05-19"
}],
"reason": "Find potential meeting times for Karey Higuera and Kishore Mecal with a duration of 60 minutes between May 15th and May 19th."
}
USER
[
{
startTime: '2023-05-16T05:00:00.000Z',
endTime: '2023-05-16T06:00:00.000Z'
},
{
startTime: '2023-05-17T08:00:00.000Z',
endTime: '2023-05-17T09:00:00.000Z'
},
{
startTime: '2023-05-19T19:00:00.000Z',
endTime: '2023-05-19T20:00:00.000Z'
}
]
ASSISTANT
{
"function": "CommunicateWithUserFunc",
"params": [
"I have found some potential meeting times for you and Kishore. Here are the options:\n\n1. May 16th, 5:00 AM - 6:00 AM\n2. May 17th, 8:00 AM - 9:00 AM\n3. May 19th, 7:00 PM - 8:00 PM\n\nPlease let me know which option works best for you."
],
"reason": "Provide the user with the potential meeting times and ask for their preferred option."
}
USER
{
user: {
name: "Karey Higuera",
email: "karey@email.com",
},
timestamp: "2023-05-11T19:33:02.879Z",
response: "Can we actually do a 30 minute meeting? I don't need a whole hour",
};
ASSISTANT
{
"function": "FindMeetingTimeFunc",
"params": [{
"users": [
{"name": "Karey Higuera", "email": "karey@email.com"},
{"name": "Kishore Mecal", "email": "kishore@email.com"}
],
"duration": 30,
"startDate": "2023-05-15",
"endDate": "2023-05-19"
}],
"reason": "Find potential meeting times for Karey Higuera and Kishore Mecal with a duration of 30 minutes between May 15th and May 19th."
}
USER
[
{
startTime: "2023-05-16T05:00:00.000Z",
endTime: "2023-05-16T05:30:00.000Z",
},
{
startTime: "2023-05-17T08:00:00.000Z",
endTime: "2023-05-17T08:30:00.000Z",
},
{
startTime: "2023-05-19T19:00:00.000Z",
endTime: "2023-05-19T19:30:00.000Z",
},
]
ASSISTANT
{
"function": "CommunicateWithUserFunc",
"params": [
"Great! I have found some potential meeting times for a 30-minute meeting between you and Kishore. Here are the options:\n\n1. May 16th, 5:00 AM - 5:30 AM\n2. May 17th, 8:00 AM - 8:30 AM\n3. May 19th, 7:00 PM - 7:30 PM\n\nPlease let me know which option works best for you."
],
"reason": "Provide the user with the updated potential meeting times for a 30-minute meeting and ask for their preferred option."
}