i18n-llm-translate
Version:
Automatically translates namespace-based JSON translation files across multiple languages from any source language
9 lines (8 loc) • 440 B
TypeScript
import { TranslateEngine } from "../../type";
type ClaudeModel = 'claude-3-7-sonnet-20250219' | 'claude-3-5-sonnet-20241022' | 'claude-3-5-haiku-20241022' | 'claude-3-5-sonnet-20240620' | 'claude-3-opus-20240229' | 'claude-3-haiku-20240307';
export interface OpenAIConfig {
apiKey: string;
model?: ClaudeModel | (string & {});
}
export declare function createClaudeTranslateEngine(config: OpenAIConfig): TranslateEngine;
export {};