Translate text documents using Google Translate.
transform_documents(
self,
documents: Sequence[Document],
**kwargs: Any = {}
) -> Sequence[Document]| Name | Type | Description |
|---|---|---|
source_language_code* | unknown | ISO 639 language code of the input document. |
target_language_code* | unknown | ISO 639 language code of the output document. For supported languages, refer to: https://cloud.google.com/translate/docs/languages |
mime_type* | unknown | (Optional) Media Type of input text.
Options: |