TranslatorReq
Data Structure
INTLTranslatorReq: 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 groupsDefault: empty | Required |
| topic | string | Background info of the translated text Default: empty | Optional |
| pastConversation | string | Past conversation records Default: empty | Optional |
| noCache | string | Whether to disable caching true: not cached, false: cached Default: false | Optional |