From 9446b0cc79d08fe2dafd82df2df61e38b514574a Mon Sep 17 00:00:00 2001 From: vedantsahai18 Date: Thu, 17 Oct 2024 10:13:35 -0400 Subject: [PATCH] cookbook 11 modified --- cookbooks/11-Advanced_Chat_Interactions.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cookbooks/11-Advanced_Chat_Interactions.py b/cookbooks/11-Advanced_Chat_Interactions.py index f8cedde7b..bb60d741f 100644 --- a/cookbooks/11-Advanced_Chat_Interactions.py +++ b/cookbooks/11-Advanced_Chat_Interactions.py @@ -88,19 +88,19 @@ - if: "search_regex('weather', inputs[0].user_input)" then: - tool: weather_api - arguments: - location: "NEW YORK" + # tool: weather_api + # arguments: + # location: "NEW YORK" prompt: - role: system content: >- You are an advanced chat assistant. Here's a summary of the recent conversation: {{outputs[0].summarized_history}} - The user mentioned weather. Here's the current weather information for NEW YORK - Incorporate this information into your response. + # The user mentioned weather. Here's the current weather information for NEW YORK + # Incorporate this information into your response. - {{outputs[1]}} + # {{outputs[1]}} Now, respond to the user's latest input: {{inputs[0].user_input}} else: