Skip to content

Commit e11aa7b

Browse files
VinayGuthaldaymxn
andauthored
Update firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.kt
Co-authored-by: Daymon <[email protected]>
1 parent a9a7457 commit e11aa7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/GenerateContentResponse.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ public class GenerateContentResponse(
4545
}
4646

4747
/**
48-
* Returns inline data parts found in any `Part`s of the first candidate of the response, if any.
48+
* Convenience field representing all the [InlineDataPart]s in the first candidate, if they exist.
49+
*
50+
* This also includes any [ImagePart], but they will be represented as [InlineDataPart] instead.
4951
*/
5052
public val inlineDataParts: List<InlineDataPart> by lazy {
5153
candidates.first().content.parts.let { parts ->

0 commit comments

Comments
 (0)