Hi, I’m building an AI that book clients for a barbershop. I have tools that check available time slots in a calendar, make bookings, modify them, and delete them. I also use a Postgres chat Memory
Now, here are the problems I’m facing:
- A client selects a time, for example, 12:00. Then they change it to 14:00, and later to 18:00. But when they want book 12:00, the AI remembers it from the chat history and says that 12:00 is already booked, even though it’s actually free on Google Calendar. AI check Postgres not the Google Calendar tools.
- Two clients ask if 12:00 is available. The bot replies that it is. Then, within about 5 minutes, both clients say “Book me for 12:00,” and the bot ends up booking both of them at the same time, without doing a double-check.