Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions generative-ai/snippets/gemini-all-modalities.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// [START generativeaionvertexai_gemini_all_modalities]
const {GoogleGenAI} = require('@google/genai');

/**
Expand Down Expand Up @@ -62,7 +61,6 @@ async function analyze_all_modalities(

console.log(response.text);
}
// [END generativeaionvertexai_gemini_all_modalities]

analyze_all_modalities(...process.argv.slice(2)).catch(err => {
console.error(err.message);
Expand Down
2 changes: 0 additions & 2 deletions generative-ai/snippets/gemini-audio-summarization.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// [START generativeaionvertexai_gemini_audio_summarization]
const {GoogleGenAI} = require('@google/genai');
/**
* TODO(developer): Update these variables before running the sample.
Expand Down Expand Up @@ -47,7 +46,6 @@ async function summarize_audio(

console.log(response.text);
}
// [END generativeaionvertexai_gemini_audio_summarization]

summarize_audio(...process.argv.slice(2)).catch(err => {
console.error(err.message);
Expand Down
2 changes: 0 additions & 2 deletions generative-ai/snippets/gemini-audio-transcription.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// [START generativeaionvertexai_gemini_audio_transcription]
const {GoogleGenAI} = require('@google/genai');

/**
Expand Down Expand Up @@ -47,7 +46,6 @@ async function transcript_audio(

console.log(response.text);
}
// [END generativeaionvertexai_gemini_audio_transcription]

transcript_audio(...process.argv.slice(2)).catch(err => {
console.error(err.message);
Expand Down
2 changes: 0 additions & 2 deletions generative-ai/snippets/gemini-pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// [START generativeaionvertexai_gemini_pdf]
const {GoogleGenAI} = require('@google/genai');

/**
Expand Down Expand Up @@ -48,7 +47,6 @@ async function analyze_pdf(

console.log(response.text);
}
// [END generativeaionvertexai_gemini_pdf]

analyze_pdf(...process.argv.slice(2)).catch(err => {
console.error(err.message);
Expand Down
2 changes: 0 additions & 2 deletions generative-ai/snippets/gemini-system-instruction.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// [START generativeaionvertexai_gemini_system_instruction]
const {GoogleGenAI} = require('@google/genai');

/**
Expand Down Expand Up @@ -49,7 +48,6 @@ async function set_system_instruction(

console.log(response.text);
}
// [END generativeaionvertexai_gemini_system_instruction]

set_system_instruction(...process.argv.slice(2)).catch(err => {
console.error(err.message);
Expand Down
2 changes: 0 additions & 2 deletions generative-ai/snippets/gemini-text-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// [START generativeaionvertexai_gemini_generate_from_text_input]
const {GoogleGenAI} = require('@google/genai');
/**
* TODO(developer): Update these variables before running the sample.
Expand All @@ -37,7 +36,6 @@ async function generate_from_text_input(

console.log(response.text);
}
// [END generativeaionvertexai_gemini_generate_from_text_input]

generate_from_text_input(...process.argv.slice(2)).catch(err => {
console.error(err.message);
Expand Down
Loading