| 限定符和类型 | 方法和说明 |
|---|---|
GoogleAIModeRequest |
GoogleAIModeRequest.setGl(String gl)
设置定义 Google 搜索要使用的国家/地区。
|
GoogleAIModeRequest |
GoogleAIModeRequest.setHl(String hl)
设置定义 Google 搜索要使用的语言。
|
GoogleAIModeRequest |
GoogleAIModeRequest.setJson(String json)
设置定义采集结果的输出格式。
|
GoogleAIModeRequest |
GoogleAIModeRequest.setLocation(String location)
设置定义搜索发起的地理位置。
|
GoogleAIModeRequest |
GoogleAIModeRequest.setNoCache(String noCache)
设置默认情况下,5 分钟内缓存相同参数的搜索结果。
|
GoogleAIModeRequest |
GoogleAIModeRequest.setQ(String q)
设置定义搜索的查询内容,默认值为 pizza。
|
GoogleAIModeRequest |
GoogleAIModeRequest.setUule(String uule)
设置希望用于搜索的 Google 编码位置。
|
| 限定符和类型 | 方法和说明 |
|---|---|
RawResponse |
GoogleService.aiMode(GoogleAIModeRequest request)
当用户需要通过 Google AI Mode 获取 AI 搜索结果,或需要按位置、国家/地区、语言控制 Google AI Mode 查询结果时触发。
|
Copyright © 2026. All rights reserved.