@yandu/plugin-translate-llm
v1.0.0
Published
Yandu plugin: LLM Translation
Readme
@yandu/plugin-translate-llm
Yandu plugin for LLM-based translation.
Installation
npm install @yandu/plugin-translate-llmConfiguration
Requires 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"
}