- Authenticate by using
gcloudCLI:
- Authentication using Service Account with JSON key and environment variable:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
gcloud CLI:gcloud auth application-default login
GOOGLE_APPLICATION_CREDENTIALS="<Path to credentials.json>"
npm install @llm-tools/embedjs-vertexai
import { RAGApplicationBuilder } from '@llm-tools/embedjs';
import { Ollama } from '@llm-tools/embedjs-vertexai';
const app = await new RAGApplicationBuilder()
.setModel(new VertexAI({ modelName: 'gemini-1.5-pro-preview-0409'}))
Was this page helpful?
