Spaces:
Running
Running
Update tools.py
Browse files
tools.py
CHANGED
@@ -6,19 +6,6 @@ def escalate_to_human(summary):
|
|
6 |
print("=========================\n")
|
7 |
exit()
|
8 |
|
9 |
-
def transfer_to_sales_agent():
|
10 |
-
"""Use for anything sales or buying related."""
|
11 |
-
return sales_agent
|
12 |
-
|
13 |
-
def transfer_to_issues_repairs_agent():
|
14 |
-
"""Use for issues, repairs, or refunds."""
|
15 |
-
return issues_and_repairs_agent
|
16 |
-
|
17 |
-
def transfer_to_triage_agent():
|
18 |
-
"""Call this if the user brings up a topic outside of your purview,
|
19 |
-
including escalating to human."""
|
20 |
-
return triage_agent
|
21 |
-
|
22 |
def execute_order(product, price: int):
|
23 |
"""Price should be in USD."""
|
24 |
print("\n\n=== Order Summary ===")
|
|
|
6 |
print("=========================\n")
|
7 |
exit()
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
def execute_order(product, price: int):
|
10 |
"""Price should be in USD."""
|
11 |
print("\n\n=== Order Summary ===")
|