UNPKG

@genkit-ai/vertexai

Version:

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

36 lines (32 loc) 1.62 kB
import { GenkitPlugin } from 'genkit/plugin'; import { P as PluginOptions } from './types-DgDIietx.mjs'; export { G as GeminiConfig, g as gemini, a as gemini10Pro, b as gemini15Flash, c as gemini15Pro, d as gemini20Flash, e as gemini20Flash001, f as gemini20FlashLite, h as gemini20FlashLitePreview0205, i as gemini20ProExp0205, j as gemini25ProExp0325, k as gemini25ProPreview0325 } from './types-DgDIietx.mjs'; export { multimodalEmbedding001, textEmbedding004, textEmbedding005, textEmbeddingGecko003, textEmbeddingGeckoMultilingual001, textMultilingualEmbedding002 } from './embedder.mjs'; export { imagen2, imagen3, imagen3Fast } from './imagen.mjs'; import 'genkit'; import 'google-auth-library'; import '@google-cloud/vertexai'; import 'genkit/model'; import 'genkit/embedder'; /** * @license * * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Add Google Cloud Vertex AI to Genkit. Includes Gemini and Imagen models and text embedder. */ declare function vertexAI(options?: PluginOptions): GenkitPlugin; export { PluginOptions, vertexAI as default, vertexAI };