Translation (TranslatorReq)
Data Structure
INTLTranslatorReq: Translation Request
| Parameters | Type | Explanation | Note |
|---|---|---|---|
| srcLang | String | Original Language Default: auto | Required |
| targetLang | String | Target Language Default: empty | Required |
| translateTexts | String | Translation content, format: "[\"xxx\", \"xxx\"]", up to 5 groupsDefault: 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 |