Gemini 3.7 Flash (gemini-3.7-flash), Gemini 3 सीरीज़ का पिछली जनरेशन वाला Flash मॉडल है. अब इसे बंद कर दिया गया है और इसके उपयोगकर्ताओं को अपने-आप Gemini 3.8 Flash पर भेज दिया जाता है.
इस गाइड को रेफ़रंस के लिए सुरक्षित रखा गया है. इसमें Gemini 3.7 Flash में जोड़ी गई सुविधाओं और किए गए बदलावों के बारे में बताया गया है.
मॉडल अवलोकन
| मॉडल | मॉडल आईडी | सोचने का डिफ़ॉल्ट लेवल | ब्यौरा |
|---|---|---|---|
| Gemini 3.7 Flash (अब इस्तेमाल नहीं किया जा सकता) | gemini-3.7-flash |
medium |
यह कोडिंग, एजेंटिक वर्कफ़्लो, और कई चरणों वाले टास्क को पूरा करने के लिए बनाया गया Flash मॉडल की पिछली जनरेशन का मॉडल है. इसे Gemini 3.8 Flash से बदल दिया गया है. |
Gemini 3.7 Flash में 10 लाख टोकन वाली कॉन्टेक्स्ट विंडो, ज़्यादा से ज़्यादा 64 हज़ार आउटपुट टोकन, और सोच-विचार करने के अडजस्ट किए जा सकने वाले लेवल (low, medium, high) की सुविधा मिलती है. साथ ही, इसमें 3.6 Flash की तरह ही पहले से मौजूद टूल का सुइट भी मिलता है.
पूरी जानकारी के लिए, Gemini 3.7 Flash मॉडल पेज देखें.
क्विकस्टार्ट
Python
from google import genai
client = genai.Client()
interaction = client.interactions.create(
model="gemini-3.7-flash",
input="Write a responsive navigation component in React with smooth animations and dark mode toggle."
)
print(interaction.output_text)
JavaScript
import { GoogleGenAI } from "@google/genai";
const client = new GoogleGenAI({});
const interaction = await client.interactions.create({
model: "gemini-3.7-flash",
input: "Write a responsive navigation component in React with smooth animations and dark mode toggle.",
});
console.log(interaction.output_text);
Java
import com.google.genai.Client;
import com.google.genai.gaos.models.interactions.CreateModelInteraction;
import com.google.genai.gaos.models.interactions.Interaction;
import com.google.genai.gaos.models.interactions.InteractionsInput;
import com.google.genai.gaos.models.interactions.Model;
import com.google.genai.gaos.models.operations.CreateInteractionRequestBody;
Client client = new Client();
CreateModelInteraction req = CreateModelInteraction.builder()
.model(Model.of("gemini-3.7-flash"))
.input(InteractionsInput.of("Write a responsive navigation component in React with smooth animations and dark mode toggle."))
.build();
Interaction interaction =
client.interactions.create(CreateInteractionRequestBody.of(req)).interaction().get();
System.out.println(interaction.outputText().orElse(""));
आराम का समय
curl "https://generativelanguage.googleapis.com/v1beta/interactions" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H 'Content-Type: application/json' \
-X POST \
-d '{
"model": "gemini-3.7-flash",
"input": "Write a responsive navigation component in React with smooth animations and dark mode toggle."
}'
Gemini 3.7 Flash में नया क्या है
- कोडिंग और एजेंट से जुड़े टास्क: सॉफ़्टवेयर इंजीनियरिंग और एजेंट से जुड़े बेंचमार्क के लिए, असल दुनिया में इस्तेमाल होने वाले टूल की क्वालिटी में काफ़ी सुधार हुआ है. इससे समस्याओं को हल करने में मदद मिलती है और एजेंट के लूप में गड़बड़ी होने की संभावना कम हो जाती है.
- वेब डेवलपमेंट और डिज़ाइन की बेहतर समानता: यह सीधे तौर पर डिज़ाइन मॉक से, अच्छी क्वालिटी का डेस्कटॉप और वेब ऐप्लिकेशन कोड जनरेट करता है. इससे डिज़ाइन को बेहतर तरीके से लागू करने और मौजूदा कोड बेस को मॉक के हिसाब से ऑडिट करने में मदद मिलती है, ताकि डिज़ाइन की समानता की पुष्टि की जा सके.
रीज़निंग के लेवल के बारे में जानकारी
Gemini 3.7 Flash, डेवलपर को मॉडल के सोचने के लेवल में बदलाव करके, लेटेन्सी और इंटेलिजेंस पर ज़्यादा कंट्रोल देता है:
- कम सोचने की क्षमता: इससे उन टास्क के लिए जवाब देने में लगने वाला समय कम हो जाता है जिनमें इंतज़ार का समय कम होना ज़रूरी होता है. जैसे, घटना के जवाब देने की पाइपलाइन, रीयल-टाइम चैट, ड्राफ़्ट लिखना, और डेटा का तेज़ी से विश्लेषण करना.
- मीडियम (डिफ़ॉल्ट): ज़्यादातर कामों के लिए सबसे अच्छी क्वालिटी. यह मॉडल, मुश्किल कोड और एजेंट के तौर पर काम करने वाले इस्तेमाल के उदाहरणों के लिए सुझाया जाता है. इसमें पहली बार में ही सटीक जवाब मिलने की संभावना ज़्यादा होती है.
- ज़्यादा सोचने की क्षमता: इससे मॉडल की सोचने और टूल इस्तेमाल करने की क्षमता बढ़ जाती है. रीज़निंग वाले मुश्किल सवालों के जवाब पाने, गणित के मुश्किल सवालों को हल करने, कोडिंग से जुड़े मुश्किल टास्क करने, और एजेंट वाले टास्क करने के लिए बेहतरीन. यह मॉडल, ज़्यादा टोकन और लागत के साथ, ज़्यादा गहराई से सोचने और फ़ंक्शन कॉल करने की सुविधा देता है.
Gemini 3.7 Flash में सोच-विचार करने के लेवल कॉन्फ़िगर करने के लिए:
Python
from google import genai
client = genai.Client()
interaction = client.interactions.create(
model="gemini-3.7-flash",
input="Analyze this payment processing pipeline for race conditions during retry attempts and rewrite the transaction locks safely.",
generation_config={
"thinking_level": "medium" # Balanced reasoning effort for complex tasks
}
)
print(interaction.output_text)
कई भाषाओं में कोड के उदाहरण (JavaScript, Java, Go, REST) और रीज़निंग के कॉन्सेप्ट के बारे में ज़्यादा जानने के लिए, Gemini 3.8 Flash में रीज़निंग के लेवल को समझना लेख पढ़ें.
Antigravity एजेंट से जुड़ी सहायता
Gemini 3.7 Flash में, Gemini एजेंट बनाने और मैनेज करने की सुविधा में Antigravity एजेंट और Google Antigravity SDK को इस्तेमाल करने की सुविधा जोड़ी गई है.
मौजूदा कोड सैंपल और डिफ़ॉल्ट एजेंट कॉन्फ़िगरेशन के बारे में जानने के लिए, Antigravity एजेंट गाइड और Gemini 3.8 Flash गाइड देखें.
अन्य मॉडल
आगे क्या करना है
- मॉडल की खास जानकारी में जाकर, एपीआई की खास बातें देखें.
- Interactions API की गाइड में, मल्टी-एजेंट ऑर्केस्ट्रेशन के बारे में जानें.
- Google AI Studio में प्रॉम्प्ट की जांच करें और उन्हें बेहतर बनाएं.