Skip to content

Commit f4d2045

Browse files
authored
task: decommission legacy Vertex AI region tags under generative-ai (part 1) (#4369)
1 parent d8c246e commit f4d2045

6 files changed

Lines changed: 0 additions & 12 deletions

File tree

generative-ai/snippets/gemini-all-modalities.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_all_modalities]
1615
const {GoogleGenAI} = require('@google/genai');
1716

1817
/**
@@ -62,7 +61,6 @@ async function analyze_all_modalities(
6261

6362
console.log(response.text);
6463
}
65-
// [END generativeaionvertexai_gemini_all_modalities]
6664

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

generative-ai/snippets/gemini-audio-summarization.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_audio_summarization]
1615
const {GoogleGenAI} = require('@google/genai');
1716
/**
1817
* TODO(developer): Update these variables before running the sample.
@@ -47,7 +46,6 @@ async function summarize_audio(
4746

4847
console.log(response.text);
4948
}
50-
// [END generativeaionvertexai_gemini_audio_summarization]
5149

5250
summarize_audio(...process.argv.slice(2)).catch(err => {
5351
console.error(err.message);

generative-ai/snippets/gemini-audio-transcription.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_audio_transcription]
1615
const {GoogleGenAI} = require('@google/genai');
1716

1817
/**
@@ -47,7 +46,6 @@ async function transcript_audio(
4746

4847
console.log(response.text);
4948
}
50-
// [END generativeaionvertexai_gemini_audio_transcription]
5149

5250
transcript_audio(...process.argv.slice(2)).catch(err => {
5351
console.error(err.message);

generative-ai/snippets/gemini-pdf.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_pdf]
1615
const {GoogleGenAI} = require('@google/genai');
1716

1817
/**
@@ -48,7 +47,6 @@ async function analyze_pdf(
4847

4948
console.log(response.text);
5049
}
51-
// [END generativeaionvertexai_gemini_pdf]
5250

5351
analyze_pdf(...process.argv.slice(2)).catch(err => {
5452
console.error(err.message);

generative-ai/snippets/gemini-system-instruction.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_system_instruction]
1615
const {GoogleGenAI} = require('@google/genai');
1716

1817
/**
@@ -49,7 +48,6 @@ async function set_system_instruction(
4948

5049
console.log(response.text);
5150
}
52-
// [END generativeaionvertexai_gemini_system_instruction]
5351

5452
set_system_instruction(...process.argv.slice(2)).catch(err => {
5553
console.error(err.message);

generative-ai/snippets/gemini-text-input.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_generate_from_text_input]
1615
const {GoogleGenAI} = require('@google/genai');
1716
/**
1817
* TODO(developer): Update these variables before running the sample.
@@ -37,7 +36,6 @@ async function generate_from_text_input(
3736

3837
console.log(response.text);
3938
}
40-
// [END generativeaionvertexai_gemini_generate_from_text_input]
4139

4240
generate_from_text_input(...process.argv.slice(2)).catch(err => {
4341
console.error(err.message);

0 commit comments

Comments
 (0)