Skip to content

Commit

Permalink
cookbook 11 modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedantsahai18 committed Oct 17, 2024
1 parent b25c42d commit 9446b0c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cookbooks/11-Advanced_Chat_Interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9446b0c

Please sign in to comment.