Commit 3290633
authored
feat: [generativelanguage] add support for additional reasons to stop image generation (#6820)
* feat: add support for FunctionResponsePart
feat: add support for raw media bytes for function response
feat: add Computer Use tool type
feat: add support for image generation features
feat: add support for additional reasons to stop image generation
feat: add URL_RETRIEVAL_STATUS_UNSAFE and URL_RETRIEVAL_STATUS_PAYWALL statuses for url retrieval
feat: add log_probability_sum
fix!: replaced GenerateVideoResponse by PredictLongRunningGeneratedVideoResponse field
PiperOrigin-RevId: 819821787
Source-Link: googleapis/googleapis@fd84be8
Source-Link: googleapis/googleapis-gen@eaa1254
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFpLWdlbmVyYXRpdmVsYW5ndWFnZS8uT3dsQm90LnlhbWwiLCJoIjoiZWFhMTI1NDc5Nzc1YzI3YzFhMGE2NzgxODQzY2NiZDc1MTAyMGE2NSJ9
* feat: add support for additional reasons to stop image generation
feat: add support for finish_message that contain details the reason why the model stopped generating tokens
feat: add URL_RETRIEVAL_STATUS_UNSAFE and URL_RETRIEVAL_STATUS_PAYWALL statuses for url retrieval
feat: add log_probability_sum
docs: deprecation notice for HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY
PiperOrigin-RevId: 819823490
Source-Link: googleapis/googleapis@f495b45
Source-Link: googleapis/googleapis-gen@b8008e9
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFpLWdlbmVyYXRpdmVsYW5ndWFnZS8uT3dsQm90LnlhbWwiLCJoIjoiYjgwMDhlOTQyN2ExNjg3ZDk5MzJhZjgwNGFlOTA1ZDU1NmRhNDIyNSJ9
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>1 parent 68fd63c commit 3290633
12 files changed
Lines changed: 2454 additions & 147 deletions
File tree
- packages/google-ai-generativelanguage
- protos
- google/ai/generativelanguage
- v1beta
- v1
- samples/generated/v1beta
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
190 | 192 | | |
191 | 193 | | |
192 | 194 | | |
| 195 | + | |
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
| |||
248 | 251 | | |
249 | 252 | | |
250 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
251 | 259 | | |
252 | 260 | | |
253 | 261 | | |
| |||
289 | 297 | | |
290 | 298 | | |
291 | 299 | | |
| 300 | + | |
292 | 301 | | |
293 | 302 | | |
294 | 303 | | |
| |||
442 | 451 | | |
443 | 452 | | |
444 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
445 | 464 | | |
446 | 465 | | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
447 | 470 | | |
448 | 471 | | |
449 | 472 | | |
| |||
460 | 483 | | |
461 | 484 | | |
462 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
463 | 493 | | |
464 | 494 | | |
465 | 495 | | |
| |||
512 | 542 | | |
513 | 543 | | |
514 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
515 | 551 | | |
516 | 552 | | |
517 | 553 | | |
| |||
541 | 577 | | |
542 | 578 | | |
543 | 579 | | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
544 | 583 | | |
545 | 584 | | |
546 | 585 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
Lines changed: 92 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
144 | 167 | | |
145 | 168 | | |
146 | 169 | | |
| |||
160 | 183 | | |
161 | 184 | | |
162 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
163 | 204 | | |
164 | 205 | | |
165 | 206 | | |
| |||
242 | 283 | | |
243 | 284 | | |
244 | 285 | | |
| 286 | + | |
| 287 | + | |
245 | 288 | | |
246 | 289 | | |
247 | 290 | | |
| |||
253 | 296 | | |
254 | 297 | | |
255 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
256 | 322 | | |
257 | 323 | | |
258 | 324 | | |
| |||
280 | 346 | | |
281 | 347 | | |
282 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
283 | 354 | | |
284 | 355 | | |
285 | 356 | | |
| |||
352 | 423 | | |
353 | 424 | | |
354 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
355 | 429 | | |
356 | 430 | | |
357 | 431 | | |
| |||
362 | 436 | | |
363 | 437 | | |
364 | 438 | | |
365 | | - | |
366 | | - | |
367 | | - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
368 | 442 | | |
369 | 443 | | |
370 | 444 | | |
| |||
392 | 466 | | |
393 | 467 | | |
394 | 468 | | |
395 | | - | |
396 | | - | |
| 469 | + | |
| 470 | + | |
397 | 471 | | |
398 | 472 | | |
399 | 473 | | |
| |||
453 | 527 | | |
454 | 528 | | |
455 | 529 | | |
456 | | - | |
| 530 | + | |
457 | 531 | | |
458 | 532 | | |
459 | 533 | | |
| |||
491 | 565 | | |
492 | 566 | | |
493 | 567 | | |
494 | | - | |
| 568 | + | |
495 | 569 | | |
496 | 570 | | |
497 | 571 | | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
498 | 576 | | |
499 | 577 | | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
500 | 583 | | |
501 | 584 | | |
502 | 585 | | |
| |||
521 | 604 | | |
522 | 605 | | |
523 | 606 | | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
| 607 | + | |
| 608 | + | |
529 | 609 | | |
530 | 610 | | |
531 | 611 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
0 commit comments