IAiModelText class

IAiModelText class

The common interface for AI models designed to generate a variety of text-based content.

Methods

NameDescription
check_grammar(source_document, options)Checks grammar of the provided document. This operation leverages the connected AI model for checking grammar of document.
summarize(source_document, options)Generates a summary of the specified document, with options to adjust the length of the summary. This operation leverages the connected AI model for content processing.
summarize(source_documents, options)Generates summaries for an array of documents, with options to control the summary length and other settings. This method utilizes the connected AI model for processing each document in the array.
translate(source_document, target_language)Translates the provided document into the specified target language. This operation leverages the connected AI model for content translating.

See Also