Translate

OpenAiModel.Translate method

Translates the provided document into the specified target language. This operation leverages the connected AI model for content translating.

public override Document Translate(Document sourceDocument, Language targetLanguage)
ParameterTypeDescription
sourceDocumentDocumentThe document to be translated.
targetLanguageLanguageThe language into which the document will be translated.

Return Value

A new Document object containing the translated document.

See Also