跳到正文
Gemini API Changelog·· 2024-04-09精选AI 评分62

Google 发布 Gemini 1.5 Pro 预览版及 text-embeddings-004 嵌入模型

April 9, 2024

AI 导读

Google 在 Gemini API 中发布 Gemini 1.5 Pro(gemini-1.5-pro-latest)预览版,并推出新的文本嵌入模型 text-embeddings-004,支持 768 以下的弹性嵌入维度。

推荐理由

Gemini 1.5 Pro 预览版与新版嵌入模型同步上线,并补齐多模态提示、文件 API 等接口能力。

正文 · 原文

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 the execution behavior for function calling.
  • Added support for the response_mime_type configuration option, which lets you request responses in JSON format.

来源:Gemini API Changelog · ai.google.dev