File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
generative-ai/snippets/inference Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ async function generateContent(
32
32
{
33
33
role : 'user' ,
34
34
parts : [
35
- { text : 'Are following video and image correlated?' } ,
36
35
{
37
36
file_data : {
38
37
file_uri : 'gs://cloud-samples-data/video/animals.mp4' ,
@@ -41,10 +40,11 @@ async function generateContent(
41
40
} ,
42
41
{
43
42
file_data : {
44
- file_uri : 'gs://generativeai-downloads/images /character.jpg' ,
43
+ file_uri : 'gs://cloud-samples-data/generative-ai/image /character.jpg' ,
45
44
mime_type : 'image/jpeg' ,
46
45
} ,
47
46
} ,
47
+ { text : 'Are following video and image correlated?' } ,
48
48
] ,
49
49
} ,
50
50
] ,
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ async function generateContent(
32
32
{
33
33
role : 'user' ,
34
34
parts : [
35
- { text : 'Are following video and image correlated?' } ,
36
35
{
37
36
file_data : {
38
37
file_uri : 'gs://cloud-samples-data/video/animals.mp4' ,
@@ -41,10 +40,11 @@ async function generateContent(
41
40
} ,
42
41
{
43
42
file_data : {
44
- file_uri : 'gs://generativeai-downloads/images /character.jpg' ,
43
+ file_uri : 'gs://cloud-samples-data/generative-ai/image /character.jpg' ,
45
44
mime_type : 'image/jpeg' ,
46
45
} ,
47
46
} ,
47
+ { text : 'Are following video and image correlated?' } ,
48
48
] ,
49
49
} ,
50
50
] ,
You can’t perform that action at this time.
0 commit comments