极客智坊支持了 Gemini 最近发布的一项实现性功能 —— URL Context,它可以让模型直接访问网页内容并进行分析。通过 URL Context,模型可以获取网页的文本内容、图片和其他媒体资源,从而更好地理解和回答与该网页相关的问题,只需要在 Prompt 中嵌入对应的 URL 即可。 在调用对话 API 时,可以通过将Documentation Index
Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
Use this file to discover all available pages before exploring further.
enable_url_context 参数设置为 true 来开启该功能:
gemini-3.1-pro-previewgemini-3.1-pro-preview:fast-thinkinggemini-3-flash-previewgemini-3-flash-preview:no-thinkinggemini-2.5-progemini-2.5-pro:fast-thinkinggemini-2.5-flashgemini-2.5-flash:no-thinkinggemini-2.5-flash-litegemini-2.5-flash-lite:no-thinkinggemini-2.0-flash
