From ebc7aca48f8cc493d73566621ca621af4764c006 Mon Sep 17 00:00:00 2001 From: Patti Shin Date: Wed, 13 Dec 2023 21:43:28 -0800 Subject: [PATCH] fix: resolve typo in genai sample (#3591) * fix: resolve small bug (repeated image), and moving region tag * fix: resolve typo --- generative-ai/snippets/nonStreamingMultipartContent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generative-ai/snippets/nonStreamingMultipartContent.js b/generative-ai/snippets/nonStreamingMultipartContent.js index 086c4586d1..1ab9929112 100644 --- a/generative-ai/snippets/nonStreamingMultipartContent.js +++ b/generative-ai/snippets/nonStreamingMultipartContent.js @@ -41,7 +41,7 @@ async function createNonStreamingMultipartContent( // For images, the SDK supports both Google Cloud Storage URI and base64 strings const filePart = { - fileSata: { + fileData: { fileUri: image, mimeType: mimeType, },