TechCrunch News 2024年11月01日
Google’s Gemini API and AI Studio get grounding with Google Search
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

Google的Gemini API及AI Studio允许开发者将提示结果与谷歌搜索数据结合,使响应更准确。开发者可在AI Studio免费试用,Gemini API用户需付费。开启接地功能简便,可根据需求设置。谷歌还会提供结果的支持链接。AI Studio不仅是提示调整工具,目标是助开发者实际应用。

🥳Google的Gemini API及AI Studio使开发者能将提示结果与谷歌搜索数据相结合,让基于AI的服务和机器人的响应更精准,且数据更具时效性。

💡开发者可在AI Studio免费尝试接地功能,而Gemini API用户在付费层使用,每1000次接地查询需支付35美元。AI Studio新推出的内置比较模式可直观对比接地查询与仅依赖模型自身数据的结果差异。

🎯开启接地功能操作简单,通过切换开关并调整‘动态检索’设置决定API使用接地的频率。开发者可根据需求选择为每个提示开启或采用更细致的设置,以评估提示是否需谷歌搜索数据增强。

🔗谷歌在利用谷歌搜索数据丰富结果时,会提供回到底层来源的支持链接,这既有助于出版商获得认可和曝光,也满足了用户验证答案的需求。

Starting today, developers using Google’s Gemini API and its Google AI Studio to build AI-based services and bots will be able to ground their prompts’ results with data from Google Search. This should enable more accurate responses based on fresher data.

As has been the case before, developers will be able to try out grounding for free in AI Studio, which is essentially Google’s playground for developers to test and refine their prompts, and access its latest large language models. Gemini API users will have to be on the paid tier and will pay $35 per 1,000 grounded queries.

AI Studio’s recently launched built-in compare mode makes it easy to see how the results of grounded queries differ from those that rely solely on the model’s own data.

Image Credits:Google

Turning on grounding is as easy as toggling on a switch and deciding on how often the API should use grounding by making changes to the so-called ‘dynamic retrieval’ setting. That could be as straightforward as opting to turn it on for every prompt or going with a more nuanced setting that then uses a smaller model to evaluate the prompt and decide whether it would benefit from being augmented with data from Google Search.

“Grounding can help […] when you ask a very recent question that’s beyond the model’s knowledge cut off, but it could also help with a question which is not as recent, […] but you may want richer detail,” Shrestha Basu Mallick, Google’s group product manager for the Gemini API and AI Studio, explained. “There might be developers who say we only want to ground on recent facts, and they would set this [dynamic retrieval value] higher. And there might be developers who say: No, I want the rich detail of Google search on everything.”

Image Credits:Google

When Google enriches results with data from Google Search, it also provides supporting links back to the underlying sources. Logan Kilpatrick, who joined Google earlier this year after previously leading developer relations at OpenAI, told me that displaying these links is a requirement of the Gemini license for anyone who uses this feature.

“It is very important for us for two reasons: one, we want to make sure our publishers get the credit and the visibility,” Basu Mallick added. “But second, this also is something that users like. When I get an LLM answer, I often go to Google Search and check that answer. We’re providing a way for them to do this easily, so this is much valued by users.”

In this context, it’s worth noting that while AI Studio started out as something more akin to a prompt tuning tool, it’s a lot more now.

“Success for AI Studio looks like: you come in, you try one of the Gemini models, and you see this actually is really powerful and works well for your use case,” said Kilpatrick. “There’s a bunch we do to surface potential interesting use cases to developers front and center in the UI, but ultimately, the goal is not to keep you in AI Studio and just have you sort of play around with the models. The goal is to get you code. You press ‘Get Code’ in the top right-hand corner, you go start building something, and you might come back to AI Studio to experiment with a future model.”

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Google Gemini API AI Studio 接地功能 谷歌搜索数据
相关文章