🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@genkit-ai/vertexai

Package Overview
Dependencies
Maintainers
4
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@genkit-ai/vertexai

Genkit AI framework plugin for Google Cloud Vertex AI APIs including Gemini APIs, Imagen, and more.

1.13.0
latest
Source
npm
Version published
Weekly downloads
20K
-17.96%
Maintainers
4
Weekly downloads
 
Created
Source

A Vertex AI plugin for Genkit

Installing the plugin

npm i --save @genkit-ai/vertexai

Using the plugin

import { genkit } from 'genkit';
import { vertexAI, gemini, gemini15Flash } from '@genkit-ai/vertexai';

const ai = genkit({
  plugins: [vertexAI()],
  model: gemini15Flash,
});

async () => {
  const { text } = ai.generate('hi Gemini!');
  console.log(text);
};

The sources for this package are in the main Genkit repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Genkit documentation.

License: Apache 2.0

Keywords

genkit

FAQs

Package last updated on 19 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts