- You can substitute variable values in a state without it being selected in that state, hence realistically the only variables that need to selected are those that are being updated in the state or are used to answer user questions in that state.
- Minimizing variables in this fashion will lead to better reliability and lower latency.
- e.g. If you are trying to validate someone’s DOB in a state, adding variables about other dates (e.g. EMI start date) can potentially confuse the LLM.
- example prompt for updating variable
- e.g If the user agrees to send the message, update variable:disposition to ‘agree’ then say: “Thank you for agreeing to send the message”
For variables with specific types (like enums), always define these types clearly in the Guidelines section.