Skip to content

Commit 1a06760

Browse files
committed
chore(generative-ai): decommission legacy Vertex AI region tags (part 3)
1 parent 739cd5a commit 1a06760

5 files changed

Lines changed: 0 additions & 13 deletions

File tree

generative-ai/snippets/sendMultiModalPromptWithImage.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
// [START generativeaionvertexai_gemini_single_turn_multi_image]
1615
const {VertexAI} = require('@google-cloud/vertexai');
1716
const axios = require('axios');
1817

@@ -93,7 +92,6 @@ async function sendMultiModalPromptWithImage(
9392

9493
console.log(fullTextResponse);
9594
}
96-
// [END generativeaionvertexai_gemini_single_turn_multi_image]
9795

9896
sendMultiModalPromptWithImage(...process.argv.slice(2)).catch(err => {
9997
console.error(err.message);

generative-ai/snippets/sendMultiModalPromptWithVideo.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
// [START generativeaionvertexai_gemini_single_turn_video]
1615
const {VertexAI} = require('@google-cloud/vertexai');
1716

1817
/**
@@ -60,7 +59,6 @@ async function sendMultiModalPromptWithVideo(
6059

6160
console.log(fullTextResponse);
6261
}
63-
// [END generativeaionvertexai_gemini_single_turn_video]
6462

6563
sendMultiModalPromptWithVideo(...process.argv.slice(2)).catch(err => {
6664
console.error(err.message);

generative-ai/snippets/streamChat.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
// [START generativeaionvertexai_gemini_multiturn_chat_stream]
1615
const {VertexAI} = require('@google-cloud/vertexai');
1716

1817
/**
@@ -42,8 +41,6 @@ async function createStreamChat(
4241
}
4342
}
4443

45-
// [END generativeaionvertexai_gemini_multiturn_chat_stream]
46-
4744
createStreamChat(...process.argv.slice(2)).catch(err => {
4845
console.error(err.message);
4946
process.exitCode = 1;

generative-ai/snippets/streamContent.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
// [START generativeaionvertexai_gemini_content]
16-
// [START aiplatform_gemini_content]
1715
const {VertexAI} = require('@google-cloud/vertexai');
1816

1917
/**
@@ -48,8 +46,6 @@ async function createStreamContent(
4846
process.stdout.write(item.candidates[0].content.parts[0].text);
4947
}
5048
}
51-
// [END aiplatform_gemini_content]
52-
// [END generativeaionvertexai_gemini_content]
5349

5450
createStreamContent(...process.argv.slice(2)).catch(err => {
5551
console.error(err.message);

generative-ai/snippets/streamMultipartContent.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
// [START aiplatform_gemini_get_started]
1615
const {VertexAI} = require('@google-cloud/vertexai');
1716

1817
/**
@@ -62,7 +61,6 @@ async function createStreamMultipartContent(
6261
process.stdout.write(item.candidates[0].content.parts[0].text);
6362
}
6463
}
65-
// [END aiplatform_gemini_get_started]
6664

6765
createStreamMultipartContent(...process.argv.slice(2)).catch(err => {
6866
console.error(err.message);

0 commit comments

Comments
 (0)