最新资讯
reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准 dev.to FreeToken:在自有 GPU 上运行前沿 MoE 模型及其内存需求 dev.to 当 AI Agent 说“完成”时,究竟完成了什么? dev.to 部署 Underdog Bark 3.0 Pro:逐字转写、自定义后端与分块设置 dev.to 为艰难对话构建 AI:五个 Agent、一条安全正则与一位盲评监督者 techcrunch.com Palo Alto Networks 洽谈以 5 亿美元收购 AI Agent 安全初创公司 Clutch theinformation.com 黄仁勋被要求就涉华间谍指控向国会作简报 www.infoq.com Edera 推出 Object Capability Bounded Authority,试图将凭证与 AI Agent 工作负载隔离 wechat 这波杀疯了!旗舰级模型不限量、1个月视频额度免费领 bloomberg.com AI 抛售蔓延至信用市场,软银领跌亚洲美元债 dev.to 如何在专用 GPU 服务器上用 OpenAI 兼容 API 部署 LLM dev.to 审计 153 份 Claude Code 与 Codex 会话记录:User-Agent 与 URL 中的邮箱泄露
多元动态
登录 注册
大模型 cloud.google.com · @Google Cloud Blog

Google Earth Engine 推出 Ask 功能,用 Gemini 加速地理空间编码

原文 我的收藏

Google Earth Engine 在 Code Editor 中新增 Ask 功能,将 Gemini 能力直接集成到编辑器内,用于编写、调试、理解和优化地理空间查询。Ask 可基于当前脚本全文、导入的资产与几何对象以及会话历史提供上下文感知回答,支持自动查看 diff 并合并进脚本,还可选择 Gemini 3 Flash Preview、Gemini 3.1 Pro Preview、Gemini 3.5 Flash 等模型,并启用文档搜索、数据集搜索或 Google Search 接地。官方给出自然语言生成 NDVI 计算、云掩膜、图表等代码的示例用法。

AI推荐理由 Google Cloud 官方发布,信息密度较高:Google Earth Engine Code Editor 新增 Ask 功能,集成 Gemini 提供上下文感知的代码生成、调试与优化,可读取当前脚本、导入资产和会话历史,支持 diff 合并、文档搜索、数据集搜索和 Google Search 接地,并列出可选的 Gemini 模型。属于面向特定开发者群体的工具更新,对地理空间与遥感开发者有直接用途,但受众相对垂直,且未提供性能或效果验证数据。

68

正文

Whether you are mapping global forest cover, detecting changes in the built environment, or monitoring agricultural yields, writing scripts in Google Earth Engine is a powerful way to develop these insights. This platform is part of Google Earth AI, our collection of geospatial models and datasets designed to help you transform planetary information into actionable intelligence, and we’ve launched a new feature, Ask, that makes accessing that planetary intelligence even easier. We know that translating complex geospatial logic into code takes time, and memorizing specific Google Earth Engine API functions, searching documentation, and debugging syntax or memory errors can interrupt your flow. Ask is designed to help you get to actionable insights faster, by integrating Gemini capabilities directly into the Google Earth Engine Code Editor. Starting today, you can use your own Gemini API key to write, debug, understand, and optimize geospatial queries without ever leaving the Code Editor. Figure 1: The new Ask panel resides on the right side of the Code Editor, providing chat-based AI assistance tailored to your active script. How it works: Context-aware assistance You can ask a question directly in the Code Editor, and get a response based on context from your workspace, such as: The full text of your active script Your imported assets and geometries Your active session chat history Because Gemini capabilities in Google Earth Engine automatically understand your work, you don’t have to add code or explain your datasets. It already knows these details, so it can provide more relevant, helpful answers. Additionally, you can automatically view the diff and merge it into your script. No more copy and pasting! You can also personalize Ask to make responses more comprehensive and suited to your needs: Access the latest Gemini models: Choose the Gemini model that meets your needs — at launch, the available models are Gemini 3 Flash Preview, Gemini 3.1 Pro Preview, and Gemini 3.5 Flash. Docs search: Use AI to search the official documentation for up-to-date syntax and functions. Dataset search: Allow AI to search the Earth Engine Data Catalog to find and reference the exact datasets you need. Google Search: Grounds response in the latest public web results using Grounding with Google Search (mutually exclusive with docs search and dataset search). Quick-start examples Not sure where to start? Here are four ways you can use Ask in your workflows: 1. Generate code from natural language Need to calculate NDVI (“Normalized Difference Vegetation Index”), perform a cloud mask, or build a chart, but can't remember the exact syntax? Just ask and Earth Engine can generate JavaScript code for you. You can review the code directly in the chat and click Insert to add it to your script, or Copy it to your clipboard. If your editor is not empty, inserting code displays a side-by-side diff view so you can review changes before accepting them. Prompt example: "Write a script to load Sentinel-2 imagery for 2025 over Boulder, CO, apply a cloud mask, calculate NDVI, and add the median composite to the map." 2. Explain complex code If you’re working with a script written by a colleague or adapting an example from the community, you can use Gemini capabilities to explain it. Simply ask, "Explain what this script does," and receive a step-by-step breakdown of the logic and Earth Engine functions being used. 3. Perform one-click troubleshooting and debugging Debugging is an inevitable part of coding. When your script throws an error in Google Earth Engine, the Console displays an error message. Now, those messages include a "Troubleshoot" button. Clicking it automatically populates the Ask panel with a prompt that contains the error message and a request for help to diagnose the issue and suggest a fix. Figure 2: The "Troubleshoot" button in the Console makes debugging errors fast and frictionless. 4. Optimize queries If your script is, for example, running slowly, consuming resources inefficiently, throwing "computation timed out" or "too many concurrent aggregations" errors, ask for optimization tips. Gemini capabilities can suggest best practices like early filtering, reducing computation steps, or converting client-side loops into server-side operations. Get started in two steps Ask is available globally today. To get started, you just need a Gemini API key: Get an API key: If you don’t already have a Gemini API key, head to Google AI Studio and create one (there are free options; if you choose a paid-tier API key, you will be billed for your usage). Learn more about Gemini API terms. Add the API key to GEE: Open the Google Earth Engine Code Editor. On the right-hand panel, click the Ask panel. Click the key icon in the bottom left corner and enter your API key. We want to hear from you! Please use the Code Editor Feedback button to share your feedback and help us improve the experience.

来源报道 · 2 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容