Build workflows and state machines with conditional paths.
decide_on_help_desk
workflow processes user messages and determines whether to route them to IT, HR, or a generic chatbot.
This decision is made using an LLM (help_desk_decision_gen
) based on the content of the conversation.
branch
named get_help_desk_info
executes a different workflow depending on the decision:
it_workflow
runs.hr_workflow
runs.
Otherwise, the generic_chatbot_workflow runs.retrieved_info
.respond_to_user_given_context
workflow generates a response using the retrieved information.