nikki_cryo
11/11/2024, 12:03 PMNJ
11/11/2024, 5:48 PMeviewang_
11/11/2024, 6:37 PMeviewang_
11/11/2024, 6:38 PMnikki_cryo
11/11/2024, 6:41 PMnikki_cryo
11/12/2024, 11:36 AMnikki_cryo
11/12/2024, 12:03 PMthis is the state management prompt that I am using:
### State Management:
- **Track the current conversation state using a global variable called "state"**
- **Maintain a single, continuous conversation state**
- **Do NOT restart the function call for intermediate inputs or patient querys**
- **Use the following states to keep track of the conversation:**
- `Information Collection State`
- `Function Calling State`
- `Completion State`
- **Handle interruptions gracefully:**
- If the user says casual phrases like "thank you," "yes," or "sure" during a function call, respond with an acknowledgment without re-triggering the function call.
- Use an "in-progress" flag once a function call starts, preventing repeated calls until the current action is completed.
- **STRICTLY** Do not call a single function more than once one after another even if the patient tells you to.b34r43b
11/12/2024, 11:17 PMhassan_mehmood
11/18/2024, 4:25 PMhassan_mehmood
11/18/2024, 4:28 PMhassan_mehmood
11/18/2024, 6:22 PM