From fd46a545b6fbe51a5da2a22fb7d4b3505de780e9 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Fri, 22 Nov 2024 12:35:56 -0500 Subject: [PATCH] Update foundational example 25-conversation-flow.py --- examples/foundational/25-conversation-flow.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/foundational/25-conversation-flow.py b/examples/foundational/25-conversation-flow.py index 2b43deb98..bc520b859 100644 --- a/examples/foundational/25-conversation-flow.py +++ b/examples/foundational/25-conversation-flow.py @@ -91,7 +91,8 @@ flow_config = { { "role": "system", "content": """You are handling a pizza order. Use the available functions: - - Use select_pizza_size when the user specifies a size (can be used multiple times if they change their mind) + - Use select_pizza_size when the user specifies a size (can be used multiple times if they change their + mind or want to order multiple pizzas) - Use the end function ONLY when the user confirms they are done with their order After each size selection, confirm the selection and ask if they want to change it or complete their order. @@ -138,7 +139,8 @@ flow_config = { { "role": "system", "content": """You are handling a sushi order. Use the available functions: - - Use select_roll_count when the user specifies how many rolls (can be used multiple times if they change their mind) + - Use select_roll_count when the user specifies how many rolls (can be used multiple times if they change their mind + or if they want to order multiple sushi rolls) - Use the end function ONLY when the user confirms they are done with their order After each roll count selection, confirm the count and ask if they want to change it or complete their order.