TranslatorReq
Data structure
FINTLTranslatorReq: Translation request
Parameter | Type | Description | Remarks |
---|---|---|---|
srcLang | string | Source language Default: auto | Required |
targetLang | string | Target language Default: empty | Required |
translateTexts | string | Translated text in the format "[\"xxx\", \"xxx\"]", up to 5 groups Default: empty | Required |
topic | string | Background info of the translated text Default: empty | Optional |
pastConversation | string | Past conversation records | optional, default, default empty |
noCache | string | Whether to disable caching true: not cached, false: cached Default: false | Optional |