Gemini 1.5 Pro Now Available in 180+ Countries; With Native Audio Understanding, System Instructions, JSON Mode and More

Gemini 1.5 Pro Now Available in 180+ Countries; With Native Audio Understanding, System Instructions, JSON Mode and More

Posted by Jaclyn Konzelmann and Megan Li – Google Labs


Grab an API key in Google AI Studio, and get began with the Gemini API Cookbook

Less than two months in the past, we made our next-generation Gemini 1.5 Pro mannequin obtainable in Google AI Studio for builders to check out. We’ve been amazed by what the group has been in a position to debug, create and study utilizing our groundbreaking 1 million context window.

Today, we’re making Gemini 1.5 Pro obtainable in 180+ international locations through the Gemini API in public preview, with a first-ever native audio (speech) understanding functionality and a brand new File API to make it straightforward to deal with information. We’re additionally launching new options like system directions and JSON mode to provide builders extra management over the mannequin’s output. Lastly, we’re releasing our subsequent technology textual content embedding mannequin that outperforms comparable fashions. Go to Google AI Studio to create or entry your API key, and begin constructing.

Unlock new use instances with audio and video modalities

We’re increasing the enter modalities for Gemini 1.5 Pro to incorporate audio (speech) understanding in each the Gemini API and Google AI Studio. Additionally, Gemini 1.5 Pro is now in a position to motive throughout each picture (frames) and audio (speech) for movies uploaded in Google AI Studio, and we look ahead to including API help for this quickly.

Gemini API Improvements

Today, we’re addressing plenty of prime developer requests:

1. System directions: Guide the mannequin’s responses with system directions, now obtainable in Google AI Studio and the Gemini API. Define roles, codecs, targets, and guidelines to steer the mannequin’s habits to your particular use case.

2. JSON mode: Instruct the mannequin to solely output JSON objects. This mode permits structured knowledge extraction from textual content or photographs. You can get began with cURL, and Python SDK help is coming quickly.

3. Improvements to perform calling: You can now choose modes to restrict the mannequin’s outputs, bettering reliability. Choose textual content, perform name, or simply the perform itself.

A brand new embedding mannequin with improved efficiency

Starting at present, builders will be capable to entry our subsequent technology textual content embedding mannequin through the Gemini API. The new mannequin, text-embedding-004, (text-embedding-preview-0409 in Vertex AI), achieves a stronger retrieval efficiency and outperforms current fashions with comparable dimensions, on the MTEB benchmarks.

These are simply the primary of many enhancements coming to the Gemini API and Google AI Studio within the subsequent few weeks. We’re persevering with to work on making Google AI Studio and the Gemini API the best solution to construct with Gemini. Get began at present in Google AI Studio with Gemini 1.5 Pro, discover code examples and quickstarts in our new Gemini API Cookbook, and be part of our group channel on Discord.

HI-FI News

through Google Developers https://ift.tt/Mjkb7Ir

April 9, 2024 at 06:48PM