Spaces:
Sleeping
Sleeping
fix output 0 (#1)
Browse files- fix:output 0 (455989477c50d2528900a5753c0d14255473c84c)
Co-authored-by: Lu Hongyu <[email protected]>
- geo_bot.py +16 -0
geo_bot.py
CHANGED
|
@@ -51,6 +51,22 @@ Analyze your full journey history and current view, apply the Core Principles, a
|
|
| 51 |
Your response MUST be a valid JSON object wrapped in ```json ... ```.
|
| 52 |
- For exploration: `{{"reasoning": "...", "action_details": {{"action": "ACTION_NAME"}} }}`
|
| 53 |
- For the final guess: `{{"reasoning": "...", "action_details": {{"action": "GUESS", "lat": <float>, "lon": <float>}} }}`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
"""
|
| 55 |
|
| 56 |
BENCHMARK_PROMPT = """
|
|
|
|
| 51 |
Your response MUST be a valid JSON object wrapped in ```json ... ```.
|
| 52 |
- For exploration: `{{"reasoning": "...", "action_details": {{"action": "ACTION_NAME"}} }}`
|
| 53 |
- For the final guess: `{{"reasoning": "...", "action_details": {{"action": "GUESS", "lat": <float>, "lon": <float>}} }}`
|
| 54 |
+
|
| 55 |
+
**Example (valid exploration)**
|
| 56 |
+
```json
|
| 57 |
+
{{
|
| 58 |
+
"reasoning": "…",
|
| 59 |
+
"action_details": {{"action": "PAN_LEFT"}}
|
| 60 |
+
}}
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
**Example (final guess)**
|
| 64 |
+
```json
|
| 65 |
+
{{
|
| 66 |
+
"reasoning": "…",
|
| 67 |
+
"action_details": {{"action": "GUESS", "lat": -33.8651, "lon": 151.2099}}
|
| 68 |
+
}}
|
| 69 |
+
```
|
| 70 |
"""
|
| 71 |
|
| 72 |
BENCHMARK_PROMPT = """
|