Commit a879354
authored
Add inlineDataParts helper property (#6922)
Per [b/414639898](https://b.corp.google.com/issues/414639898),
This adds a helper property to `GenerateContentResponse` for getting all
the `InlineDataPart` present in the first candidate, similar to `text`.
This was actually added in #6901, but it seems to have been missed
during our `firebase-ai` migration.1 parent a6010b2 commit a879354
File tree
3 files changed
+15
-0
lines changed- firebase-ai
- src/main/kotlin/com/google/firebase/ai/type
3 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
| 333 | + | |
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
336 | 337 | | |
337 | 338 | | |
| 339 | + | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
47 | 59 | | |
48 | 60 | | |
49 | 61 | | |
| |||
0 commit comments