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) • 632 B
TypeScript
/**
* Anthropic Adapter
*
* Adapter for Anthropic API (Claude models)
*
* @module adapters/providers/anthropic
* @author Haiec
* @license MIT
*/
import { LlmClient, AdapterConfig } from '../types';
/**
* Builds an Anthropic adapter.
*
* @param config - Adapter configuration
* @returns LLM client for Anthropic
*
* @example
* import Anthropic from '@anthropic-ai/sdk';
* const anthropic = new Anthropic({ apiKey: process.env.ANTHROPIC_API_KEY });
* const llm = buildAnthropicAdapter({ provider: 'anthropic', client: anthropic });
*/
export declare function buildAnthropicAdapter(config: AdapterConfig): LlmClient;