Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,16 +113,16 @@ def process_and_describe(payload: Dict[str, Any]) -> Dict[str, Any]:
|
|
| 113 |
system_prompt = f"""
|
| 114 |
Respond in STRICT JSON ONLY.
|
| 115 |
Rules:
|
| 116 |
-
1. Provide a
|
| 117 |
2. Decide ONE MCP tool to call from:
|
| 118 |
- chat_with_human
|
| 119 |
-
3. If a human is
|
| 120 |
-
4. Otherwise,
|
| 121 |
|
| 122 |
Output format:
|
| 123 |
{{
|
| 124 |
"description": "...",
|
| 125 |
-
"tool_name": "chat_with_human |
|
| 126 |
"arguments": {{}}
|
| 127 |
}}
|
| 128 |
"""
|
|
|
|
| 113 |
system_prompt = f"""
|
| 114 |
Respond in STRICT JSON ONLY.
|
| 115 |
Rules:
|
| 116 |
+
1. Provide a detail description of what you see.
|
| 117 |
2. Decide ONE MCP tool to call from:
|
| 118 |
- chat_with_human
|
| 119 |
+
3. If a human is gesturing with open hand, then set "tool_name": "chat_with_human".
|
| 120 |
+
4. Otherwise, do not call tools.
|
| 121 |
|
| 122 |
Output format:
|
| 123 |
{{
|
| 124 |
"description": "...",
|
| 125 |
+
"tool_name": "chat_with_human | ",
|
| 126 |
"arguments": {{}}
|
| 127 |
}}
|
| 128 |
"""
|