英文原文(节选)
ChatGPT Work and GPT-6 Astra … can take an address and produce a 5K/10K circular running route … using OSM data.
中文翻译
ChatGPT Work 与 GPT-6 Astra 可以接收一个地址,使用 OSM 数据生成从该地址出发并返回的 5 公里 / 10 公里环形跑步路线。
线程与实现上下文
Simon Willison 表示,他将这个任务交给 ChatGPT Work 中的 GPT-6 Astra(Max);任务运行约 27 分钟,最终同时生成嵌入式路线可视化、可下载的 GPX 文件和 GeoJSON 文件。
在追问实现方式后,他得到的说明是:先用 Nominatim 对地址进行地理编码,再通过 Overpass 下载附近的 OpenStreetMap 道路与步道数据,最后在本地计算环线。可视化由 visualize skill 返回 HTML 片段,使用 D3 绘制地图和叠加路线,并将完整几何信息放入页面内的 JSON 数据。
他同时指出两个限制:执行过的实际代码和精确步骤没有显示在 ChatGPT 界面中;等到他随后索要 Python 代码时,线程已发生上下文压缩,无法再取回。他据此主张,使用上下文压缩的系统应保留压缩前文本,并允许代理工具访问这些记录。
原始 X:Simon Willison on X: "This is pretty neat: ChatGPT Work and GPT-6 Astra (I used "Max") can take an address and produce a 5K/10K circular running route starting from that address, using OSM data https://t.co/GVxIqlqThC" / X
线程续帖:Simon Willison on X: "I used this as an excuse to do some reverse engineering of ChatGPT itself - the resulting running map was presented to me using this "visualize" skill, as a fragment of HTML that used D3 to draw both the map and the overlaid route https://t.co/vJWQbefsUk" / X
作者文章:Generating running routes with GPT-6 Astra and ChatGPT Work