From 7e59e5aef9207369b919ebbf6c4a52e1f3770858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ros=C3=A1rio=20P=2E=20Fernandes?= Date: Fri, 7 Feb 2025 12:04:50 +0000 Subject: [PATCH 1/3] docs: update ImagePart refdocs --- .../src/main/kotlin/com/google/firebase/vertexai/type/Part.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt index cfffe6885b0..f0c72c06fc5 100644 --- a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt +++ b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt @@ -40,8 +40,8 @@ public class TextPart(public val text: String) : Part { } /** - * Represents image data sent to and received from requests. When this is sent to the server it is - * converted to jpeg encoding at 80% quality. + * Represents image data sent to and received from requests. The image is + * converted to jpeg encoding at 80% quality before being sent to the server. * * @param image [Bitmap] to convert into a [Part] */ From 47b068df2f4a7147f47e79374e4fee4be98a3f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ros=C3=A1rio=20P=2E=20Fernandes?= Date: Fri, 7 Feb 2025 12:50:37 +0000 Subject: [PATCH 2/3] Update firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt Co-authored-by: rachelsaunders <52258509+rachelsaunders@users.noreply.github.com> --- .../src/main/kotlin/com/google/firebase/vertexai/type/Part.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt index f0c72c06fc5..25c42bd4372 100644 --- a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt +++ b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt @@ -41,7 +41,8 @@ public class TextPart(public val text: String) : Part { /** * Represents image data sent to and received from requests. The image is - * converted to jpeg encoding at 80% quality before being sent to the server. + * converted client-side to JPEG encoding at 80% quality before being sent + * to the server. * * @param image [Bitmap] to convert into a [Part] */ From 4c504da1e644276df1f21c3b85e12db418e3f879 Mon Sep 17 00:00:00 2001 From: rosariopf Date: Mon, 17 Feb 2025 13:37:53 +0000 Subject: [PATCH 3/3] spotless apply --- .../main/kotlin/com/google/firebase/vertexai/type/Part.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt index 25c42bd4372..a0a47cf79ee 100644 --- a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt +++ b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt @@ -40,9 +40,8 @@ public class TextPart(public val text: String) : Part { } /** - * Represents image data sent to and received from requests. The image is - * converted client-side to JPEG encoding at 80% quality before being sent - * to the server. + * Represents image data sent to and received from requests. The image is converted client-side to + * JPEG encoding at 80% quality before being sent to the server. * * @param image [Bitmap] to convert into a [Part] */