Hey folks I have a general question regarding the workflow and its best practices. I'm designing a workflow for a customer service assistant and helping customers to book an appointment.
I have a hard time taming and controlling the behaviour of the flow. I've broken down the task into small actions so each node takes care of one part.
However, it has a lot of unpredictability. Sometimes works fine but sometimes one node tries to do multiple tasks and then, the next node will ask again about the same info or run into a loop.
By changing prompts and LLM models and exhaustive search I might be able to find a solution, but I was wondering if there's a better way.