Translator

interface Translator

Converts user text to English before it is sent. The backend is swappable.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun translateToEnglish(text: String, languageHint: String? = null): TranslationResult