AI Practices AI实践 10h ago Updated 2h ago 更新于 2小时前 46

Generating running routes with GPT-6 Astra and ChatGPT Work 使用GPT-6 Astra和ChatGPT Work生成跑步路线

ChatGPT Work with GPT-6 Astra (Max) successfully generated 5K and 10K looping running routes from a user's address using OpenStreetMap data The system used Nominatim for geocoding and Overpass API to download local road/trail data, then computed loops locally Output was delivered as embedded visualization, downloadable GPX, and GeoJSON files within 27 minutes A significant transparency issue emerged: the actual Python code was inaccessible due to thread compaction, and ChatGPT could not reproduc ChatGPT Work结合GPT-6 Astra成功生成基于OpenStreetMap数据的5K/10K跑步路线,输出包含可视化地图及GPX/GeoJSON文件 任务执行耗时27分钟,通过Nominatim定位地址、Overpass API获取路网数据,本地计算循环路线 系统缺乏透明度:实际执行代码和详细步骤在UI中不可见,且对话线程压缩后无法恢复原始代码 可视化通过"visualize skill"实现,生成嵌入HTML文件,使用D3库渲染地图,CSP策略限制外部资源仅允许特定CDN 暴露AI Agent系统在复杂任务中的可追溯性缺陷,提示需保留压缩前文本并通过工具调用开放访问

65
Hot 热度
70
Quality 质量
60
Impact 影响力

Analysis 深度分析

TL;DR

  • ChatGPT Work with GPT-6 Astra (Max) successfully generated 5K and 10K looping running routes from a user's address using OpenStreetMap data
  • The system used Nominatim for geocoding and Overpass API to download local road/trail data, then computed loops locally
  • Output was delivered as embedded visualization, downloadable GPX, and GeoJSON files within 27 minutes
  • A significant transparency issue emerged: the actual Python code was inaccessible due to thread compaction, and ChatGPT could not reproduce it on request
  • The visualization skill generates self-contained HTML files using D3 loaded from allow-listed CDNs with strict Content Security Policy

Why It Matters

This demonstrates the practical capability of current LLM agents to perform multi-step geospatial workflows autonomously, integrating external APIs, computation, and visualization. However, it also highlights a critical UX gap in agent systems: when thread compaction obscures executed code, users lose reproducibility and trust, which is a barrier to adoption in professional and technical workflows.

Technical Details

  • Geocoding & Data Retrieval: Used Nominatim to resolve the user's address into coordinates, then Overpass API to query and download local OpenStreetMap roads and trails as raw spatial data
  • Route Computation: The model calculated looping routes locally from the downloaded OSM graph, producing 5K and 10K distances that start and end at the user's location
  • Output Formats: Generated three deliverables — an embedded HTML visualization, a downloadable GPX file, and a GeoJSON file containing the route geometry
  • Visualization Architecture: The visualize skill creates a self-contained HTML file (/workspace/el-granada-5k-share.html) embedding route coordinates in a <script type="application/json"> block and rendering the map with D3.js loaded from allow-listed CDNs (cdnjs.cloudflare.com, esm.sh, cdn.jsdelivr.net, unpkg.com, etc.) under a strict Content Security Policy
  • Transparency Failure: The actual Python code executed during the 27-minute process was not visible in the ChatGPT UI; after thread compaction, the model could not retrieve or reproduce the code when explicitly requested

Industry Insight

  • Agent transparency is a competitive differentiator: Systems that hide executed code behind compaction or opaque workflows will face user distrust; preserving pre-compacted context and exposing it via tool calls should be treated as a core requirement, not an afterthought
  • Geospatial AI is approaching consumer-ready maturity: The seamless integration of geocoding, routing computation, and interactive visualization in a single conversational turn signals that agentic AI can handle complex, multi-tool real-world tasks — expect rapid expansion into logistics, urban planning, and personal productivity domains
  • CSP-restricted visualization has trade-offs: While allow-listed CDNs ensure security, they limit library choice and may break if external dependencies change; developers building on top of such skills should account for potential fragility in rendering pipelines

TL;DR

  • ChatGPT Work结合GPT-6 Astra成功生成基于OpenStreetMap数据的5K/10K跑步路线,输出包含可视化地图及GPX/GeoJSON文件
  • 任务执行耗时27分钟,通过Nominatim定位地址、Overpass API获取路网数据,本地计算循环路线
  • 系统缺乏透明度:实际执行代码和详细步骤在UI中不可见,且对话线程压缩后无法恢复原始代码
  • 可视化通过"visualize skill"实现,生成嵌入HTML文件,使用D3库渲染地图,CSP策略限制外部资源仅允许特定CDN
  • 暴露AI Agent系统在复杂任务中的可追溯性缺陷,提示需保留压缩前文本并通过工具调用开放访问

为什么值得看

本文展示了当前AI在地理空间规划任务中的实际应用能力,同时揭示了Agent系统在透明度和可解释性方面的关键短板。对AI开发者而言,它提供了复杂多步骤任务执行的真实案例,并强调了系统设计需兼顾功能与可审计性。

技术解析

  • 数据获取与处理:使用Nominatim API进行地址地理编码,通过Overpass API下载本地OpenStreetMap道路和步道数据,在本地计算符合距离要求的循环路线。
  • 可视化生成:借助"visualize skill"创建HTML文件(如/workspace/el-granada-5k-share.html),内嵌JSON格式的路线几何数据,利用D3库(从允许列表CDN加载)渲染交互式地图。
  • 内容安全策略:CSP严格限制外部资源来源,仅允许cdnjs.cloudflare.com、esm.sh、cdn.jsdelivr.net等指定CDN,其他来源静默失败。
  • 系统局限性:对话线程压缩后,原始执行代码和详细过程无法通过UI访问,表明当前Agent工作流缺乏对中间步骤的持久化与可检索性。

行业启示

  • 透明度与可追溯性成为Agent系统关键指标:复杂任务执行需保留完整日志和代码输出,避免压缩机制导致信息丢失,以增强用户信任和调试能力。
  • 地理空间AI应用潜力与约束并存:结合开放地图数据(如OSM)和LLM可拓展至路径规划、区域分析等领域,但需优化数据获取效率并明确输出格式标准。
  • 安全策略与功能灵活性的平衡:CSP等限制保障环境安全,但可能阻碍第三方工具集成;设计时应提供可配置的白名单机制以适应多样化任务需求。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

GPT GPT Agent Agent Conversational AI 对话系统 Product Launch 产品发布