返回全部动态

Gemini API 发布 1.5 Pro 预览版及多项新功能

原标题:April 9, 2024

Gemini API Release Notes一手来源API 更新质量 79

AI 摘要

Google 在 Gemini API 中发布了 Gemini 1.5 Pro 预览版,以及新的文本嵌入模型 text-embeddings-004,支持弹性嵌入尺寸。API 新增了 File API 用于临时存储媒体文件,并支持多模态提示、系统指令(测试版)、函数调用模式和 JSON 响应格式。这些更新增强了开发者的灵活性和功能。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

Model updates: Released Gemini 1.5 Pro ( gemini-1.5-pro-latest ) in preview. Released a new text embedding model, text-embeddings-004 , which supports elastic embedding sizes under 768. API updates: Released the File API for temporarily storing media files for use in prompting. Added support for prompting with text, image, and audio data, also known as multimodal prompting. To learn more, see Prompting with media. Released System instructions in beta. Added Function calling mode, which defines t


发布时间:2024-04-09 08:00
抓取时间:2026-08-31 04:28
来源机构:Google
阅读原文ai.google.dev