Skip to main content

TranslatorReq

Data Structure

INTLTranslatorReq: Translation request

ParameterTypeDescriptionRemarks
srcLangstringSource language
Default: auto
Required
targetLangstringTarget language
Default: empty
Required
translateTextsstringTranslated text in the format "[\"xxx\", \"xxx\"]", up to 5 groups
Default: empty
Required
topicstringBackground info of the translated text
Default: empty
Optional
pastConversationstringPast conversation recordsoptional, default, default empty
noCachestringWhether to disable caching
true: not cached, false: cached
Default: false
Optional