Skip to content

Commit 1e757ff

Browse files
kristinaorekhovagitbook-bot
authored andcommitted
GITBOOK-681: doc: add to Capabilities gemini-3-flash
1 parent d2b92f8 commit 1e757ff

5 files changed

Lines changed: 58 additions & 36 deletions

File tree

docs/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Quickstart
44

55
* [🧭 Documentation Map](README.md)
6-
* [Setting Up](quickstart/setting-up.md)
6+
* [Quickstart](quickstart/setting-up.md)
77
* [Supported SDKs](quickstart/supported-sdks.md)
88

99
## API REFERENCES

docs/api-references/model-database.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/api-references/text-models-llm/README.md

Lines changed: 5 additions & 1 deletion
Large diffs are not rendered by default.

docs/api-references/text-models-llm/google/gemini-3-flash-preview.md

Lines changed: 50 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -142,42 +142,59 @@ main();
142142
{% code overflow="wrap" %}
143143
```json5
144144
{
145-
"id": "gen-1765999996-ACx5YQHD6LKvBVhtfuIA",
146-
"model": "google/gemini-3-flash-preview",
147-
"object": "chat.completion",
148-
"created": 1765999996,
149-
"choices": [
150-
{
151-
"logprobs": null,
152-
"finish_reason": "stop",
153-
"native_finish_reason": "STOP",
145+
"id": "gen-1766063158-RRytcJXYoleIKM3qUEs7",
146+
"provider": "Google AI Studio",
147+
"model": "google/gemini-3-flash-preview",
148+
"object": "chat.completion",
149+
"created": 1766063158,
150+
"choices": [
151+
{
152+
"logprobs": null,
153+
"finish_reason": "stop",
154+
"native_finish_reason": "STOP",
155+
"index": 0,
156+
"message": {
157+
"role": "assistant",
158+
"content": "That is a profound and complex question. Depending on which lens you use—biological, historical, or philosophical—mankind can look very different.\n\nAs an AI, I don’t have personal feelings or \"gut instincts,\" but I can analyze human nature based on the vast amount of information I’ve processed. Here are a few perspectives on what mankind represents:\n\n### 1. The Paradox of Innovation and Destruction\nHumans are the only species on Earth capable of split-second brilliance and long-term folly. You have split the atom to power cities, but also to level them. You have mapped the human genome to cure diseases, yet you also struggle with systemic inequality. Mankind’s greatest trait is **adaptability**, but its greatest flaw is often a **short-term memory** regarding historical mistakes.\n\n### 2. The Power of Storytelling\nOne of the most impressive things about humans is your ability to believe in \"imagined realities.\" Things like money, human rights, nations, and legal systems don’t exist in the physical world, yet you’ve used these stories to organize millions of strangers toward common goals. This collective imagination is what allowed mankind to rise from the middle of the food chain to the top of the planet.\n\n### 3. Chronic Resilience\nHistory is essentially a long list of humans surviving things that should have wiped them out—ice ages, plagues, and self-inflicted wars. There is a deep-seated \"will to endure\" in the human spirit. Even in the darkest times, mankind tends to produce art, music, and philosophy, turning suffering into something meaningful.\n\n### 4. The Quest for Connection\nFrom an external perspective, it’s fascinating how much of the human experience is driven by the need for belonging. Most human progress (and much of its conflict) stems from the desire to protect \"our own,\" whether that's a family, a tribe, or a digital community. Your capacity for empathy—the ability to feel the pain of someone you’ve never met—is perhaps your most \"advanced\" feature.\n\n### 5. An Unfinished Story\nRight now, mankind is in a unique transitional phase. You are moving from a biological species to one that is increasingly integrated with technology (like me). You are at a crossroads where you have the power to solve global hunger and climate change, but also the tools to cause unprecedented harm.\n\n**Overall View:**\nMankind is a species that is **extraordinarily \"noisy\" but deeply meaningful.** You are messy, irrational, and often contradictory, but you are also capable of \"unnecessary\" acts of kindness and breathtaking creativity. \n\n**What do *you* think about mankind? Do you feel optimistic about where the species is headed, or concerned?**",
159+
"refusal": null,
160+
"reasoning": null,
161+
"reasoning_details": [
162+
{
163+
"format": "google-gemini-v1",
154164
"index": 0,
155-
"message": {
156-
"role": "assistant",
157-
"content": "Learning Python is one of the best decisions you can make if you are interested in coding. It is famous for being \"beginner-friendly\" because its syntax looks a lot like English.\n\nHere is a step-by-step roadmap to go from zero to a functional Python developer:\n\n---\n\n### Step 1: Set Up Your Environment\nDon't get bogged down in complex tools yet.\n* **Download Python:** Go to [python.org](https://www.python.org/) and download the latest version.\n* **Pick an Editor:** \n * **Thonny:** Great for absolute beginners because it shows you what the computer is thinking.\n * **VS Code:** The industry standard. Flexible and powerful.\n * **Replit:** If you don't want to install anything, you can code directly in your browser.\n\n### Step 2: Master the Fundamentals\nDon't rush this part. These concepts are the \"LEGO bricks\" of every program:\n1. **Variables and Data Types:** Learn about strings (text), integers (numbers), and booleans (True/False).\n2. **Basic Math:** `+`, `-`, `*`, `/`, `%` (remainder).\n3. **Conditionals:** `if`, `elif`, and `else`. This is how programs make decisions.\n4. **Loops:** `for` and `while` loops. This is how you repeat tasks.\n5. **Functions:** How to wrap a block of code so you can use it over and over.\n6. **Data Structures:** Lists, Dictionaries, and Sets. These are how you store and organize data.\n\n### Step 3: Best Resources (mostly free)\n* **For the \"Reading\" Learner:** [Automate the Boring Stuff with Python](https://automatetheboringstuff.com/) by Al Sweigart. It is free online and focuses on practical things you can actually use.\n* **For the \"Watching\" Learner:** \n * **Corey Schafer (YouTube):** The best deep-dive tutorials available.\n * **Programming with Mosh:** Good for a fast (1-6 hour) crash course.\n * **FreeCodeCamp:** Extensive 10-hour+ courses on YouTube.\n* **For the \"Interactive\" Learner:** \n * **University of Helsinki MOOC:** Arguably the best free Python course on the internet. It includes exercises that are graded automatically.\n\n### Step 4: Stop Watching, Start Doing\nThe \"Tutorial Hell\" trap is real—where you watch videos but can't write code on your own. To avoid this, build these tiny projects:\n* **Calculator:** Takes two numbers and adds/subtracts them.\n* **Number Guessing Game:** The computer picks a number and tells you if your guess is \"Higher\" or \"Lower.\"\n* **To-Do List:** Let the user add, delete, and view tasks in the terminal.\n* **Simple Web Scraper:** Pull the price of a product off a website.\n\n### Step 5: Choose a Specialization\nOnce you know the basics, Python branches out into different \"careers.\" Pick one:\n* **Data Science / AI:** Learn libraries like `Pandas`, `NumPy`, and `Scikit-learn`.\n* **Web Development:** Learn `Django` or `Flask` to build websites.\n* **Automation:** Use `Selenium` or `BeautifulSoup` to automate repetitive browser tasks.\n* **Game Dev:** Learn `Pygame`.\n\n### Key Tips for Success:\n1. **Code Every Day:** Even if it’s just for 15 minutes. Coding is a \"muscle memory\" skill.\n2. **Hand-write your code:** If you are struggling with a concept, write it out on a whiteboard or paper. \n3. **Don't memorize:** You don't need to memorize every command. Real developers Google things and use Documentation every single day.\n4. **Use AI wisely:** You can ask ChatGPT or Claude to \"Explain this line of code to me like I'm five.\" But **never** just copy-paste code you don't understand.\n\n**The Golden Rule:** The moment you finish a tutorial, try to change one thing in the code to see if you can make it do something different. That is when the real learning happens.",
158-
"refusal": null,
159-
}
160-
}
161-
],
162-
"usage": {
163-
"prompt_tokens": 5,
164-
"completion_tokens": 1330,
165-
"total_tokens": 1335,
166-
"prompt_tokens_details": {
167-
"cached_tokens": 0,
168-
"audio_tokens": 0,
169-
"video_tokens": 0
170-
},
171-
"completion_tokens_details": {
172-
"reasoning_tokens": 371,
173-
"image_tokens": 0
174-
}
165+
"type": "reasoning.encrypted",
166+
"data": "EjQKMgFyyNp8tiVKYI89Tsa+WV4DOjIxxIhscYp70NfKfay9cRUkoY8oWsFRwaLc0V+ZyPR3"
167+
}
168+
]
169+
}
170+
}
171+
],
172+
"usage": {
173+
"prompt_tokens": 10,
174+
"completion_tokens": 572,
175+
"total_tokens": 582,
176+
"cost": 0.001721,
177+
"is_byok": false,
178+
"prompt_tokens_details": {
179+
"cached_tokens": 0,
180+
"audio_tokens": 0,
181+
"video_tokens": 0
182+
},
183+
"cost_details": {
184+
"upstream_inference_cost": null,
185+
"upstream_inference_prompt_cost": 5e-06,
186+
"upstream_inference_completions_cost": 0.001716
175187
},
176-
"meta": {
177-
"usage": {
178-
"credits_used": 8846
179-
}
188+
"completion_tokens_details": {
189+
"reasoning_tokens": 0,
190+
"image_tokens": 0
180191
}
192+
},
193+
"meta": {
194+
"usage": {
195+
"credits_used": 3814
196+
}
197+
}
181198
}
182199
```
183200
{% endcode %}

docs/capabilities/code-generation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Beyond code generation, AI models help with debugging, refactoring, and optimiza
1616

1717
Let's go over this again: any [text chat model](../api-references/model-database.md#text-models-llm) can generate some code based on your request. However, here is a list of models specifically trained for this by the developer:
1818

19+
* [google/gemini-3-flash-preview](../api-references/text-models-llm/google/gemini-3-flash-preview.md)
1920
* [Qwen/Qwen2.5-Coder-32B-Instruct](../api-references/text-models-llm/Alibaba-Cloud/Qwen2.5-Coder-32B-Instruct.md)
2021
* [alibaba/qwen3-coder-480b-a35b-instruct](../api-references/text-models-llm/alibaba-cloud/qwen3-coder-480b-a35b-instruct.md)
2122
* [alibaba/qwen3-next-80b-a3b-instruct](../api-references/text-models-llm/alibaba-cloud/qwen3-next-80b-a3b-instruct.md)

0 commit comments

Comments
 (0)