Interface: TranslateResponse
@kortexya/reasoninglayer / TranslateResponse
Interface: TranslateResponse
Section titled “Interface: TranslateResponse”Defined in: src/types/translation.ts:22
Response of POST /api/v1/translate.
Properties
Section titled “Properties”model?
Section titled “model?”
optionalmodel?:string|null
Defined in: src/types/translation.ts:24
Label of the model that translated, when known.
targetLang
Section titled “targetLang”targetLang:
string
Defined in: src/types/translation.ts:26
The target language, echoed back.
translatedText
Section titled “translatedText”translatedText:
string
Defined in: src/types/translation.ts:28
The translated text.