yummy-tealY

Can't get Assistant to Propose Available Appointments

No matter how i try to prompt it my Assistant is unable to do this. A Tool of Mine sends the following response:

{ "name": "checkAvailability", "role": "tool_call_result", "time": 1722956245369, "result": "2024-08-09T10:00:00 is booked. Therefore, the desired date is NOT available. All the following time periods are booked: \n\n from 2024-08-08T07:00:00.000Z to 2024-08-08T07:45:00.000Z, from 2024-08-08T08:00:00.000Z to 2024-08-08T08:45:00.000Z, from 2024-08-08T09:30:00.000Z to 2024-08-08T10:15:00.000Z, from 2024-08-08T11:15:00.000Z to 2024-08-08T12:00:00.000Z, from 2024-08-09T07:00:00.000Z to 2024-08-09T07:45:00.000Z, from 2024-08-09T08:00:00.000Z to 2024-08-09T08:45:00.000Z, from 2024-08-09T09:00:00.000Z to 2024-08-09T09:45:00.000Z, from 2024-08-09T10:00:00.000Z to 2024-08-09T10:45:00.000Z", "toolCallId": "call_OEZOCQxMSDhNs96mAtu4uqc5", "secondsFromStart": 38.211 }

It is then Prompted to Pick dates that arent in the List, and that follow other limitations and offer them to the Caller. But it picks random Appointments that overlap or are equal to the ones in the List.

call id for Reference: e8019958-0a33-412a-9233-e535335302c7

Relevant Prompt Exerts for Reference:

Use the 'checkAvailability' function to check if the appointment is booked. If the appointment is booked, the result will provide a list of booked appointments. Propose three available appointments that are not booked, considering all the conditions contained in this prompt. Prioritize appointments that are closer to the desired appointment date, for example, on the same day.
[Appointment Booking Conditions]

The appointment must not be in the past! That means it must not be before {{now}}.
The appointment must be on a weekday (Monday to Friday).
Appointments are available from 09:00 to 18:00.
The appointment duration is 45 minutes, and appointments must not overlap.
Observe public holidays in Germany.
Was this page helpful?