AI / Apache Burr Interview questions
What is a Transition in Burr?
A Transition defines how two actions are connected and which action becomes available next for a given state — conceptually, it is an edge in the state machine’s graph.
Every transition has three parts: a from action, a to action, and a condition that must evaluate to true for the machine to move along that edge. Transitions are what let a Burr application decide which model to call, whether a conversation has ended, or any other branching logic based on the current state.
with_transitions( ("ai_converse", "human_converse"), ("human_converse", "ai_converse") )
More Related questions...