Skip to content

Interface: TranslateResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Translation / TranslateResponse

Interface: TranslateResponse

Defined in: src/types/translation.ts:22

Response of POST /api/v1/translate.

Properties

model?

optional model: string | null

Defined in: src/types/translation.ts:24

Label of the model that translated, when known.


targetLang

targetLang: string

Defined in: src/types/translation.ts:26

The target language, echoed back.


translatedText

translatedText: string

Defined in: src/types/translation.ts:28

The translated text.