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) • 599 B
TypeScript
/**
* Mistral Adapter
*
* Adapter for Mistral AI API
*
* @module adapters/providers/mistral
* @author Haiec
* @license MIT
*/
import { LlmClient, AdapterConfig } from '../types';
/**
* Builds a Mistral adapter.
*
* @param config - Adapter configuration
* @returns LLM client for Mistral
*
* @example
* import { Mistral } from '@mistralai/mistralai';
* const mistral = new Mistral({ apiKey: process.env.MISTRAL_API_KEY });
* const llm = buildMistralAdapter({ provider: 'mistral', client: mistral });
*/
export declare function buildMistralAdapter(config: AdapterConfig): LlmClient;