מודלים של חשיבה מאומנים ליצור את 'תהליך החשיבה' שהמודל עובר כחלק מהתשובה שלו. כתוצאה מכך, מודלים עם יכולות מתקדמות של הסקת מסקנות מסוגלים לספק תשובות עם יכולות חשיבה רציונלית טובות יותר בהשוואה למודלים בסיסיים מקבילים.
תהליך החשיבה מופעל כברירת מחדל. כשמשתמשים ב-Vertex AI Studio, אפשר לראות את כל תהליך החשיבה יחד עם התשובה שהמודל יצר.
מודלים נתמכים
התכונה 'חשיבה' נתמכת בדגמים הבאים:
- Gemini 3.1 Flash-Lite
- Gemini 3.1 Flash Image
- Gemini 3.1 Pro
- Gemini 3 Flash
- Gemini 3 Pro
- Gemini 3 Pro Image
- Gemini 2.5 Pro
- Gemini 2.5 Flash
- Gemini 2.5 Flash-Lite
- Gemini 2.5 Flash
- Gemini 2.5 Flash-Lite
שימוש במודל חשיבה
כדי להשתמש בתכונה 'חשיבה' עם מודל נתמך:
המסוף
- פותחים את Vertex AI Studio > Create prompt.
- בחלונית מודל, לוחצים על החלפת מודל ובוחרים אחד מהמודלים הנתמכים מהתפריט.
- (Gemini 2.5 Flash בלבד) תקציב החשיבה מוגדר כברירת מחדל לבחירה אוטומטית כשהמודל נטען.
- (אופציונלי) בשדה הוראות למערכת, נותנים למודל הוראות מפורטות לגבי הפורמט של התשובות.
- כותבים הנחיה בשדה Write your prompt (כתיבת הנחיה).
- לוחצים על הפעלה.
Gemini מחזיר תשובה אחרי שהוא יוצר אותה. בהתאם למורכבות התשובה, תהליך היצירה יכול להימשך כמה שניות:
(Gemini 2.5 Flash בלבד) כדי להשבית את התכונה 'חשיבה', מגדירים את תקציב החשיבה למושבת.
Python
התקנה
pip install --upgrade google-genai
מידע נוסף מופיע ב מאמרי העזרה בנושא SDK.
מגדירים משתני סביבה כדי להשתמש ב-Gen AI SDK עם Vertex AI:
# Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True
Go
מידע נוסף מופיע ב מאמרי העזרה בנושא SDK.
מגדירים משתני סביבה כדי להשתמש ב-Gen AI SDK עם Vertex AI:
# Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True
שליטה בחשיבה של המודל
אתם יכולים לשלוט בכמות החשיבה שהמודל מבצע לפני שהוא מחזיר תשובה. השיטה לשליטה בחשיבה משתנה בהתאם לגרסת המודל.
מודלים של Gemini 3 ומודלים מתקדמים יותר
במודלים של Gemini 3 מוצג הפרמטר thinking_level, שמפשט את הגדרת תקציב החשיבה לרמות. כברירת מחדל, מודלים של Gemini 3 משתמשים בחשיבה דינמית (thinking_level.HIGH) כדי להסיק מסקנות מההנחיות. כדי לקבל תשובות מהירות יותר עם חביון נמוך יותר כשלא נדרשת חשיבה רציונלית מורכבת, אפשר להגביל את thinking_level של המודל.
MINIMAL: (Gemini 3 Flash ו-Gemini 3.1 Flash-Lite בלבד) המודל מוגבל לשימוש בכמה שפחות טוקנים לחשיבה, והוא מתאים במיוחד למשימות פשוטות שלא דורשות חשיבה רציונלית מורכבת. זוהי רמת ברירת המחדל של Gemini 3.1 Flash-Lite. התקציב שלMINIMALקרוב ככל האפשר לאפס, אבל עדיין נדרשים חתימות של מחשבה. אם לא מספקים בבקשה חתימות מחשבה, המודל מחזיר שגיאה400. מידע נוסף זמין במאמר בנושא חתימות מחשבה.from google import genai from google.genai import types client = genai.Client() response = client.models.generate_content( model="gemini-3-flash-preview", contents="How does AI work?", config=types.GenerateContentConfig( thinking_config=types.ThinkingConfig( thinking_level=types.ThinkingLevel.MINIMAL ) ), ) print(response.text)
LOW: המודל מוגבל לשימוש בפחות טוקנים לחשיבה, והוא מתאים למשימות פשוטות שלא דורשות נימוק מורכב. LOWמתאים במיוחד למשימות עם נפח נתונים גבוה שבהן המהירות היא חיונית:from google import genai from google.genai import types client = genai.Client() response = client.models.generate_content( model="gemini-3.1-pro-preview", contents="How does AI work?", config=types.GenerateContentConfig( thinking_config=types.ThinkingConfig( thinking_level=types.ThinkingLevel.LOW ) ), ) print(response.text)
MEDIUM: (Gemini 3 Flash, Gemini 3.1 Pro ו-Gemini 3.1 Flash-Lite בלבד) גישה מאוזנת מתאימה למשימות ברמת מורכבות בינונית שדורשות חשיבה רציונלית אבל לא תכנון מעמיק ומרובה שלבים. הוא מספק יכולת חשיבה רציונלית טובה יותר מ-LOW, תוך שמירה על זמן אחזור נמוך יותר מ-HIGH:from google import genai from google.genai import types client = genai.Client() response = client.models.generate_content( model="gemini-3-flash-preview", contents="How does AI work?", config=types.GenerateContentConfig( thinking_config=types.ThinkingConfig( thinking_level=types.ThinkingLevel.MEDIUM ) ), ) print(response.text)
HIGH: מאפשר למודל להשתמש ביותר טוקנים לחשיבה רציונלית, ומתאים להנחיות מורכבות שדורשות חשיבה מעמיקה, כמו תכנון רב-שלבי, יצירת קוד מאומת או תרחישים מתקדמים של קריאה לפונקציות. זו רמת ברירת המחדל למודלים של Gemini 3 Pro ו-Gemini 3 Flash. השתמשו בהגדרה הזו כשמחליפים משימות שאולי הסתמכתם בעבר על מודלים מיוחדים של הסקה:from google import genai from google.genai import types client = genai.Client() response = client.models.generate_content( model="gemini-3.1-pro-preview", contents="Find the race condition in this multi-threaded C++ snippet: [code here]", config=types.GenerateContentConfig( thinking_config=types.ThinkingConfig( thinking_level=types.ThinkingLevel.HIGH ) ), ) print(response.text)
אי אפשר להשבית את מצב החשיבה ב-Gemini 3 Pro וב-Gemini 3.1 Pro.
אם מציינים גם thinking_level וגם thinking_budget באותה בקשה למודל Gemini 3, המודל מחזיר שגיאה.
Gemini 2.5 ומודלים קודמים
במודלים מגרסה מוקדמת יותר מ-Gemini 3, אפשר לשלוט בחשיבה באמצעות הפרמטר thinking_budget, שמגדיר את המגבלה העליונה על מספר הטוקנים שהמודל יכול להשתמש בהם בתהליך החשיבה שלו. כברירת מחדל, אם לא מוגדר thinking_budget, המודל שולט באופן אוטומטי בכמות האסימונים שהוא חושב שצריך להשתמש בהם, עד למקסימום של 8,192 אסימונים. כדי להשתמש בתקציב דינמי דרך ה-API, צריך להגדיר את thinking_budget לערך -1.
אתם יכולים להגדיר את thinking_budget באופן ידני כדי להגביל את מספר הטוקנים במצבים שבהם אתם צריכים יותר או פחות טוקנים מהתקציב שמוגדר כברירת מחדל. אפשר להגדיר מגבלת טוקנים נמוכה יותר למשימות פשוטות יותר, או מגבלה גבוהה יותר למשימות מורכבות יותר. חשוב לזכור שמדובר במגבלה רכה, ולכן יכול להיות שיהיו הבדלים במספר הכולל של טוקנים של מחשבות. אם זמן האחזור חשוב יותר, אפשר להשתמש בתקציב נמוך יותר או להשבית את החשיבה על ידי הגדרת התקציב ל-0.
בטבלה הבאה מוצגים הסכומים המינימליים והמקסימליים שאפשר להגדיר ל-thinking_budget בכל אחד מהמודלים הנתמכים:
| דגם | סכום מינימלי של טוקנים | כמות הטוקנים המקסימלית |
|---|---|---|
| Gemini 2.5 Flash | 1 | 24,576 |
| Gemini 2.5 Pro | 128 | 32,768 |
| Gemini 2.5 Flash-Lite | 512 | 24,576 |
אם משתמשים ב-Gemini 2.5 Flash וב-Gemini 2.5 Flash-Lite ומגדירים את thinking_budget ל-0, מצב החשיבה מושבת. אי אפשר להשבית את מצב החשיבה ב-Gemini 2.5 Pro.
אם משתמשים בפרמטר thinking_level עם מודל מגרסה מוקדמת יותר מ-Gemini 3, המודל מחזיר שגיאה.
המסוף
- פותחים את Vertex AI Studio > Create prompt.
- בחלונית מודל, לוחצים על החלפת מודל ובוחרים אחד מהמודלים הנתמכים מהתפריט.
- בתפריט הנפתח תקציב חשיבה, בוחרים באפשרות ידני ומשתמשים בסרגל ההזזה כדי לשנות את מגבלת תקציב החשיבה.
Python
התקנה
pip install --upgrade google-genai
מידע נוסף מופיע ב מאמרי העזרה בנושא SDK.
מגדירים משתני סביבה כדי להשתמש ב-Gen AI SDK עם Vertex AI:
# Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True
Node.js
התקנה
npm install @google/genai
מידע נוסף מופיע ב מאמרי העזרה בנושא SDK.
מגדירים משתני סביבה כדי להשתמש ב-Gen AI SDK עם Vertex AI:
# Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True
Go
מידע נוסף מופיע ב מאמרי העזרה בנושא SDK.
מגדירים משתני סביבה כדי להשתמש ב-Gen AI SDK עם Vertex AI:
# Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True
Java
כך מתקינים או מעדכנים את Java.
מידע נוסף מופיע ב מאמרי העזרה בנושא SDK.
מגדירים משתני סביבה כדי להשתמש ב-Gen AI SDK עם Vertex AI:
# Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True
צפייה בסיכומים של המחשבות
סיכומי מחשבות הם פלט מקוצר של תהליך החשיבה שהמודל עבר כשייצר את התשובה. אפשר לראות סיכומים של תהליך החשיבה במודל Gemini 2.5 ובמודלים חדשים יותר. כדי לראות סיכומים של תהליך החשיבה:
המסוף
סיכומי מחשבות מופעלים כברירת מחדל ב-Vertex AI Studio. כדי לראות את סיכום תהליך החשיבה של המודל, מרחיבים את החלונית Thoughts.
Python
התקנה
pip install --upgrade google-genai
מידע נוסף מופיע ב מאמרי העזרה בנושא SDK.
מגדירים משתני סביבה כדי להשתמש ב-Gen AI SDK עם Vertex AI:
# Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True
Node.js
התקנה
npm install @google/genai
מידע נוסף מופיע ב מאמרי העזרה בנושא SDK.
מגדירים משתני סביבה כדי להשתמש ב-Gen AI SDK עם Vertex AI:
# Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True
Go
מידע נוסף מופיע ב מאמרי העזרה בנושא SDK.
מגדירים משתני סביבה כדי להשתמש ב-Gen AI SDK עם Vertex AI:
# Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True
Java
כך מתקינים או מעדכנים את Java.
מידע נוסף מופיע ב מאמרי העזרה בנושא SDK.
מגדירים משתני סביבה כדי להשתמש ב-Gen AI SDK עם Vertex AI:
# Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_VERTEXAI=True
חתימות של מחשבות
חתימות מחשבה הן ייצוגים מוצפנים של תהליך המחשבה הפנימי של המודל, ששומרים על מצב החשיבה הרציונלית של Gemini במהלך שיחות מרובות תפניות, במיוחד כשמשתמשים בבקשה להפעלת פונקציה.
כדי לוודא שהמודל שומר על ההקשר המלא לאורך כמה תורות בשיחה, צריך להחזיר את חתימות המחשבה מהתשובות הקודמות בבקשות הבאות, בלי קשר לרמת החשיבה שבה נעשה שימוש. אם אתם משתמשים ב-Google Gen AI SDK הרשמי (Python, Node.js, Go או Java) ובתכונות הרגילות של היסטוריית הצ'אט, או אם אתם מוסיפים את התגובה המלאה של המודל להיסטוריה, חתימות המחשבה מטופלות באופן אוטומטי.
מידע נוסף מופיע במאמר בנושא חתימות מחשבה.
טכניקות ליצירת הנחיות
כדי להפיק את המרב מהמודלים של Gemini, חשוב לכתוב הנחיות יעילות. בקטע הזה מפורטות כמה שיטות מומלצות לכתיבת הנחיות למודלים של חשיבה.
מתחילים בהוראות כלליות שמתארות את התוצאה הרצויה. מתחילים בהנחיה עם מורכבות נמוכה ומתבוננים במחשבות הראשוניות של המודל לגבי אופן התגובה.
Describe the most unusual or striking architectural feature you've ever seen in a building or structure. <...> The most unusual architectural feature that has truly stayed with me is the "floating roof" of the Heydar Aliyev Center in Baku, Azerbaijan, designed by Zaha Hadid Architects. Visually, it's breathtaking. Imagine a vast, undulating landscape of pure white, seemingly draped over the building. It's not just a roof in the traditional sense; it's an extension of the ground, flowing seamlessly upwards and over the building's various spaces before curving back down to meet the earth again. There are no sharp angles, no rigid lines. Instead, everything is fluid, organic, and continuous. It resembles a giant, pristine white wave frozen in motion, or perhaps a sand dune sculpted by an unseen wind. <...> |
לתת הוראות מפורטות
אם הניסיון הראשוני לא מניב את התוצאה הרצויה, כדאי לשפר את ההנחיה על ידי מתן הוראות מפורטות יותר, כדי להנחות את Gemini בתהליך פתרון הבעיה בגישה ממוקדת יותר. כך תוכלו להכווין את המודל ולהציע לו הצעות והנחיות מפורשות כדי לשפר את ההבנה הראשונית שלו לגבי המשימה.
Now imagine that architectural feature is not just for looks, but has a specific function or purpose related to the building's environment or the people who use it. Explain what that function could be and how it enhances the building's overall design and usability. <...> Let's imagine that the "floating roof" of the Heydar Aliyev Center is not purely aesthetic but serves a crucial environmental and user-centric function: it's designed as a sophisticated climate moderator and natural ventilation system for the Baku environment. Here's how this function would work and enhance the building: Function: Passive Climate Control and Natural Ventilation System Shading and Solar Heat Mitigation: The undulating curves of the white GFRC roof are strategically shaped and oriented to provide optimal shading throughout the day, year-round. Baku experiences intense sun, especially during the summer. The overhanging curves, acting like giant brise-soleils, would block direct sunlight from hitting the building's glass facade, significantly reducing solar heat gain. The varying heights and depths of the curves would create dynamic shade patterns, ensuring that different parts of the building are shaded at different times of the day, optimizing comfort and reducing the need for excessive air conditioning. The white color of the GFRC further enhances this by reflecting a large portion of the solar radiation. <...> |
הנחיות עם חשיבה שכוללות כמה דוגמאות
הנחיות מרובות יריות בשילוב עם חשיבה יכולות לשפר עוד יותר את ההבנה של Gemini ולשפר את הדיוק של התשובות שלו. בהנחיה, מספקים כמה דוגמאות של זוגות קלט-פלט שמדגימות את ההתנהגות המועדפת ואת פורמט הפלט.
Example 1: User: What is the tallest mountain in the world? Assistant: Mount Everest Example 2: User: What is the largest ocean? Assistant: Pacific Ocean User: What is the longest river in the world? Assistant: Amazon River |
הגדרת הפלט וההתנהגות
כשמפתחים אפליקציה שבה המשתמשים יקיימו אינטראקציה ישירה עם המודל, כדאי לספק הנחיות לגבי האופן שבו הפלט והתשובות של Gemini ייראו ויוצגו.
הוראות מערכת
הוראות מערכת הן קבוצת הוראות שהמודל מעבד לפני שהוא מעבד הנחיות. ההנחיות האלה נזכרות בכל פעם שמזינים הנחיה למודל, והן קובעות איך רוצים שהמודל יתנהג וישיב. לדוגמה, אפשר לכלול פרטים כמו התפקיד או האישיות, נתוני הקשר והוראות עיצוב.
System Instruction: You are a helpful and concise coding tutor. Always provide code examples and explain them briefly. User Prompt: Explain what is a closure in Javascript and give an example.
function outerFunction(outerVar) {
function innerFunction(innerVar) {
console.log(outerVar); // Accessing outerVar from outerFunction's scope
console.log(innerVar);
}
return innerFunction;
}
const closureExample = outerFunction('I am from outer');
closureExample('I am from inner');
Explanation:
A closure is created when a function (innerFunction in this example) is defined inside another function
(outerFunction) and the inner function remembers and has access to the variables from the outer
function's scope, even after the outer function has finished executing.
In the example:
outerFunction is called with 'I am from outer' and returns innerFunction.
closureExample now holds a reference to innerFunction.
When closureExample('I am from inner') is called, innerFunction executes.
Even though outerFunction has already finished, innerFunction can still access and use outerVar
(which is 'I am from outer') because of the closure.
In essence, the innerFunction "closes over" the variables of its outer function's scope, creating
a closure.
|
אימות ושיקוף
אפשר לכלול שלבי אימות ספציפיים בהוראות המערכת או בהנחיות שלכם ישירות. לדוגמה, יש לך שאלה ל-Gemini? בקש ממנו לאמת את המקורות שלו, לבדוק את ההיגיון שלו, לזהות שגיאות פוטנציאליות ולבדוק את התשובה הסופית.
Verify the following statement and provide your sources: The capital of Brazil is Rio de Janeiro.
The statement "The capital of Brazil is Rio de Janeiro" is incorrect. The current capital of Brazil is Brasília. Rio de Janeiro was the capital of Brazil for a significant period, from 1763 to 1960. However, the capital was moved to Brasília in 1960 as part of a plan to develop the country's interior and create a more centrally located capital. Verification and Sources: You can easily verify this information from numerous reliable sources: Encyclopedias: Britannica: Searching for "Brazil" on Britannica will clearly state Brasília as the capital. https://www.britannica.com/place/Brazil (Look for the "Capital" information in the introductory summary or "Geography" section) Wikipedia: The Wikipedia article for "Brazil" also states Brasília as the capital. https://en.wikipedia.org/wiki/Brazil (Look in the infobox or introductory section) Government and Official Sources: CIA World Factbook: This is a highly reliable source for country information. Searching for "Brazil" will list Brasília as the capital. https://www.cia.gov/the-world-factbook/countries/brazil/ (Look under "Government" > "Capital") Official Website of the Brazilian Government (if accessible and in English): While navigating official government websites can sometimes be complex, they would definitively list Brasília as the capital. Geographic Resources: National Geographic: Their website and publications will confirm Brasília as the capital of Brazil. Atlases and Geography Textbooks: Any modern atlas or geography textbook will list Brasília as the capital. Why the confusion? The confusion might arise because: Rio de Janeiro is a very famous Brazilian city: It's a major tourist destination, known for its beaches, Carnival, and iconic landmarks like Christ the Redeemer. Its past status as capital adds to its historical significance and public recognition. Historical context: Rio de Janeiro was the capital for a long time. People who learned about Brazil in the past might remember it as the capital. In conclusion, the statement is false. The capital of Brazil is Brasília, not Rio de Janeiro. Rio de Janeiro was the former capital but is no longer the current capital. You can confidently use the sources listed above to verify this information. |
ניפוי באגים והכוונה
מפתחים יכולים לגשת למחשבות של המודל בממשק המשתמש של Vertex AI Studio. ההגדרה הזו שימושית למפתחים שבודקים את ההנחיה שלהם בזמן ניפוי באגים:
ניתוח תהליך החשיבה
חשוב לעיין בתהליך החשיבה של Gemini כדי לזהות תחומים שבהם הוא טעה. הניתוח הזה יכול לספק רמזים חשובים לשיפור ההנחיות ולקבלת התגובה הצפויה באופן עקבי באפליקציה.
תרחיש לדוגמה: אם תהליך החשיבה של Gemini מראה שהוא לא הבין שלב בהנחיה מורכבת, אפשר לשפר את ההנחיה כדי להבהיר את השלב הספציפי הזה.
Step 1: Summarize the following article about quantum physics. Step 2: Translate the summary into Spanish. Step 3: Extract the key entities from the Spanish summary. Article: ... [Article Text] ... The user wants me to process an article about Google's new quantum chip called Willow in three steps: Step 1: Summarize the article. Step 2: Translate the summary into Spanish. Step 3: Extract the key entities from the Spanish summary. Let's break down each step. Step 1: Summarize the article. I need to read the article and identify the main points. The article is about Google's new quantum chip, Willow, and its achievements. The key achievements are: Exponential error reduction as qubits scale up. Outperforming supercomputers in a benchmark computation (RCS). Willow is a step towards commercially relevant quantum computing. It's the first system below threshold for quantum error correction. It achieved a benchmark computation in under 5 minutes that would take a supercomputer 10 septillion years. It was fabricated in a new facility. It has state-of-the-art performance and high quality qubits. Google is looking towards real-world applications with Willow. Quantum computing will benefit AI. I will synthesize these points into a concise summary. Step 2: Translate the summary into Spanish. Once I have the summary in English, I will translate it into Spanish. I need to ensure the translation is accurate and natural-sounding in Spanish. Step 3: Extract the key entities from the Spanish summary. After translating the summary, I will identify and extract the key entities. Key entities are typically nouns or noun phrases that represent important objects, concepts, or actors. In this context, they will likely include: Names of chips (Willow, Sycamore) Companies/Organizations (Google Quantum AI, Google Research) Technologies (quantum chip, quantum computer, qubits, quantum error correction, superconducting quantum system, classical computers, supercomputers, AI) Benchmarks (random circuit sampling, RCS) People (Julian Kelly, Peter Shor, David Deutsch, Sergio Boixo, Hartmut Neven, John Preskill) Concepts (exponential error reduction, below threshold, beyond breakeven, state-of-the-art performance, commercially relevant applications, quantum mechanics, multiverse, T1 times, system benchmarks, algorithmic benchmarks) I will need to carefully review the Spanish summary to identify these entities and list them out. |
Provide corrective feedback
If you observe errors or inconsistencies in Gemini's reasoning, provide corrective feedback in your prompt and the system instructions to anticipate where the model's response may deviate from your desired outcome.
You are an expert in botany. When asked to identify a plant, focus on leaf shape, flower structure, and stem characteristics. Identify this plant based on these characteristics: ... [Plant Characteristics Description] ... Previous incorrect response focused on habitat only. Please disregard habitat and focus on morphology. Previous incorrect response focused on habitat only. Please disregard habitat and focus on morphology. Tabebuia vellosoi |
איך להפיק את המרב מתוצאות ארוכות ומחשיבה ארוכת טווח
במהלך החשיבה נוצרים 'מחשבות' כחלק מפלט הטוקנים, שמשקף את הנימוקים המפורטים של Gemini. כדי להפיק את המרב מהתוצאות האלה:
בדיקת ההסבר
חשוב לשים לב לתהליך החשיבה של Gemini (זמין בממשק המשתמש של Vertex AI Studio), לאופן שבו הוא פירק את המשימה ולבחירות שהוא ביצע לגבי הפלט. כך תוכלו להבין איך המערכת הגיעה למסקנה שלה.
מתן הנחיות לגבי נימוקים
אם רוצים שהפלט יהיה ארוך במיוחד, כדאי לספק יותר הנחיות בהנחיה כדי לצמצם את כמות החשיבה שנדרשת כדי לבצע את המשימה שמוצגת בהנחיה. כך תוכלו להקצות יותר מהפלט של הטוקנים לתגובה שלכם.
*דוגמה: כדי לקבל דוח מפורט, אפשר לציין בהנחיה ל-Gemini אילו חלקים ותתי-חלקים צריכים להיות בדוח. כך תוכלו להנחות את Gemini לגבי המבנה של הפלט.
Generate a detailed report on the impact of climate change on coastal ecosystems. Report Structure: Introduction Rising Sea Levels 2.1. Impact on Mangroves 2.2. Impact on Coral Reefs Ocean Acidification 3.1. Impact on Shellfish 3.2. Impact on Plankton Extreme Weather Events 4.1. Increased Storm Intensity 4.2. Coastal Erosion Conclusion Provide detailed analysis within each section. <...> Climate Change Impact on Coastal Ecosystems: A Detailed Report 1. Introduction Coastal ecosystems, the dynamic interface between land and sea, are among the most productive and biodiverse environments on Earth. They provide crucial ecosystem services, including coastal protection, fisheries, carbon sequestration, and support for a vast array of species. However, these vital ecosystems are increasingly threatened by the multifaceted impacts of climate change. Driven by anthropogenic greenhouse gas emissions, climate change is manifesting in several interconnected ways that are profoundly altering the physical and chemical conditions of coastal environments. This report will delve into the key impacts of climate change on coastal ecosystems, focusing on rising sea levels, ocean acidification, and extreme weather events, and their specific consequences for critical habitats like mangroves and coral reefs, and key organisms like shellfish and plankton. Understanding these impacts is crucial for developing effective conservation and management strategies to mitigate the damage and enhance the resilience of these invaluable ecosystems. 2. Rising Sea Levels Rising sea levels are a direct and significant consequence of global warming, driven by thermal expansion of seawater and the melting of land ice (glaciers and ice sheets). This phenomenon poses a direct threat to low-lying coastal ecosystems by inundating habitats, altering salinity regimes, and increasing erosion rates. The rate of sea level rise is accelerating, and projections for the 21st century indicate a continued upward trend, with potentially devastating consequences for coastal environments. 2.1. Impact on Mangroves Mangrove forests are unique coastal ecosystems found in tropical and subtropical intertidal zones. They provide numerous benefits, including coastal protection against storms, nursery grounds for fish and invertebrates, and significant carbon sequestration... <...> |
תמחור
אתם מחויבים על הטוקנים שנוצרים במהלך תהליך החשיבה של המודל. במודלים מסוימים, כמו Gemini 3 Pro ו-Gemini 2.5 Pro, החשיבה מופעלת כברירת מחדל, ותחויבו על הטוקנים האלה.
מידע נוסף זמין במאמר בנושא תמחור ב-Vertex AI. במאמר שליטה בתקציב החשיבה מוסבר איך לנהל את העלויות.
המאמרים הבאים
מבוא ל-Gemini 2.5 Flash
ב-notebook של Colab אפשר להשתמש ב-Gemini 2.5 Flash כדי לבדוק תכונות כמו חשיבה, טוקניזציה והפעלת קוד.
חתימות למחשבות
כאן מוסבר איך לשמור על מצב החשיבה הרציונלית של Gemini במהלך שיחות מרובות שלבים ושיחות עם כמה תורות, באמצעות חתימות מחשבה.