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) • 600 B
TypeScript
/**
* Cohere Adapter
*
* Adapter for Cohere API (Command models)
*
* @module adapters/providers/cohere
* @author Haiec
* @license MIT
*/
import { LlmClient, AdapterConfig } from '../types';
/**
* Builds a Cohere adapter.
*
* @param config - Adapter configuration
* @returns LLM client for Cohere
*
* @example
* import { CohereClient } from 'cohere-ai';
* const cohere = new CohereClient({ token: process.env.COHERE_API_KEY });
* const llm = buildCohereAdapter({ provider: 'cohere', client: cohere });
*/
export declare function buildCohereAdapter(config: AdapterConfig): LlmClient;