llmverify
Version:
AI Output Verification Toolkit — Local-first LLM safety, hallucination detection, PII redaction, prompt injection defense, and runtime monitoring. Zero telemetry. OWASP LLM Top 10 aligned.
23 lines (22 loc) • 615 B
TypeScript
/**
* Google Adapter
*
* Adapter for Google AI (Gemini models)
*
* @module adapters/providers/google
* @author Haiec
* @license MIT
*/
import { LlmClient, AdapterConfig } from '../types';
/**
* Builds a Google AI adapter.
*
* @param config - Adapter configuration
* @returns LLM client for Google AI
*
* @example
* import { GoogleGenerativeAI } from '@google/generative-ai';
* const genAI = new GoogleGenerativeAI(process.env.GOOGLE_API_KEY);
* const llm = buildGoogleAdapter({ provider: 'google', client: genAI });
*/
export declare function buildGoogleAdapter(config: AdapterConfig): LlmClient;