Spaces:
Running
Running
Update tools.py
Browse files
tools.py
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
def escalate_to_human(summary):
|
2 |
"""Only call this if explicitly asked to."""
|
3 |
print("Escalating to human agent...")
|
|
|
1 |
+
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...")
|