From d348cfe968975f03c9117dc38d2b7f9a86f51689 Mon Sep 17 00:00:00 2001 From: Ammar Younas <85034447+ammaryounas339@users.noreply.github.com> Date: Mon, 4 Aug 2025 19:52:05 +0500 Subject: [PATCH] docs: fix minor typos in image generation description (#32375) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description: Fixed minor typos in the `google_imagen.ipynb` integration notebook related to image generation prompt formatting. No functional changes were made — just a documentation correction to improve clarity. --- docs/docs/integrations/tools/google_imagen.ipynb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/docs/integrations/tools/google_imagen.ipynb b/docs/docs/integrations/tools/google_imagen.ipynb index 443624dd697..0f4d7002c4d 100644 --- a/docs/docs/integrations/tools/google_imagen.ipynb +++ b/docs/docs/integrations/tools/google_imagen.ipynb @@ -25,7 +25,7 @@ "- [VertexAIImageEditorChat](#image-editing) : Edit an entire uploaded or generated image with a text prompt.\n", "- [VertexAIImageCaptioning](#image-captioning) : Get text descriptions of images with visual captioning.\n", "- [VertexAIVisualQnAChat](#visual-question-answering-vqa) : Get answers to a question about an image with Visual Question Answering (VQA).\n", - " * NOTE : Currently we support only only single-turn chat for Visual QnA (VQA)" + " * NOTE : Currently we support only single-turn chat for Visual QnA (VQA)" ] }, { @@ -48,11 +48,11 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ - "# Create Image Gentation model Object\n", + "# Create Image Generation model Object\n", "generator = VertexAIImageGeneratorChat()" ] }, @@ -140,11 +140,11 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ - "# Create Image Gentation model Object\n", + "# Create Image Generation model Object\n", "generator = VertexAIImageGeneratorChat()\n", "\n", "# Provide a text input for image\n", @@ -244,7 +244,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "metadata": {}, "outputs": [ { @@ -268,10 +268,10 @@ } ], "source": [ - "# use image egenarted in Image Generation Section\n", + "# use image generated in Image Generation Section\n", "img_base64 = generated_image[\"image_url\"][\"url\"]\n", "response = model.invoke(img_base64)\n", - "print(f\"Generated Cpation : {response}\")\n", + "print(f\"Generated Caption : {response}\")\n", "\n", "# Convert base64 string to Image\n", "img = Image.open(\n",