bstraehle commited on
Commit
d2e89ef
1 Parent(s): c269595

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +13 -0
tools.py CHANGED
@@ -1,3 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  def escalate_to_human(summary):
2
  """Only call this if explicitly asked to."""
3
  print("Escalating to human agent...")
 
1
+ def transfer_to_sales_agent():
2
+ """Use for anything sales or buying related."""
3
+ _assistant = sales_agent
4
+
5
+ def transfer_to_issues_repairs_agent():
6
+ """Use for issues, repairs, or refunds."""
7
+ _assistant = issues_repairs_agent
8
+
9
+ def transfer_to_triage_agent():
10
+ """Call this if the user brings up a topic outside of your purview,
11
+ including escalating to human."""
12
+ _assistant = triage_agent
13
+
14
  def escalate_to_human(summary):
15
  """Only call this if explicitly asked to."""
16
  print("Escalating to human agent...")