Translation (TranslatorReq)
Data Structure
FINTLTranslatorReq: Translation Request
| Parameters | Type | Explanation | Note |
|---|---|---|---|
| srcLang | string | Original Language Default: auto | Mandatory |
| targetLang | string | Target Language Default: empty | Mandatory |
| translateTexts | string | Translation content, format is "[\"xxx\", \"xxx\"]", up to 5 setsDefault: empty | Required |
| topic | String | Background information of translation text Default: empty | Optional |
| pastConversation | string | Historical conversation content Default: empty | Optional |
| noCache | String | Whether to disable caching true: no cache needed, false: cache needed Default: false | Optional |