Yandu plugin for LLM-based translation.
npm install @yandu/plugin-translate-llmRequires translation.llmModel in Yandu config with the following shape:
{
"providerId": "openai",
"modelId": "gpt-4o-mini",
"temperature": 0.3,
"maxTokens": 2048,
"apiKey": "sk-...",
"baseUrl": "https://api.openai.com/v1"
}