i18n-ai-translate
Version:
Use LLMs to translate your i18n JSON to any language.
8 lines (7 loc) • 373 B
TypeScript
import Engine from "../enums/engine";
import type { ChatParams, Model } from "../types";
import type ChatInterface from "./chat_interface";
import type RateLimiter from "../rate_limiter";
export default class ChatFactory {
static newChat(engine: Engine, model: Model, rateLimiter: RateLimiter, apiKey?: string, host?: string, chatParams?: ChatParams): ChatInterface;
}