Spaces:
Running
Running
Update tools.py
Browse files
tools.py
CHANGED
@@ -2,6 +2,14 @@ from utils import function_to_schema
|
|
2 |
|
3 |
escalate_to_human_json = function_to_schema(escalate_to_human)
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
def escalate_to_human(summary):
|
6 |
"""Only call this if explicitly asked to."""
|
7 |
print("Escalating to human agent...")
|
|
|
2 |
|
3 |
escalate_to_human_json = function_to_schema(escalate_to_human)
|
4 |
|
5 |
+
transfer_to_sales_agent_json = function_to_schema(transfer_to_sales_agent)
|
6 |
+
transfer_to_issues_repairs_agent_json = function_to_schema(transfer_to_issues_repairs_agent)
|
7 |
+
transfer_to_triage_agent_json = function_to_schema(transfer_to_triage_agent)
|
8 |
+
|
9 |
+
execute_order_json = function_to_schema(execute_order)
|
10 |
+
execute_refund_json = function_to_schema(execute_refund)
|
11 |
+
look_up_item_json = function_to_schema(look_up_item)
|
12 |
+
|
13 |
def escalate_to_human(summary):
|
14 |
"""Only call this if explicitly asked to."""
|
15 |
print("Escalating to human agent...")
|