aspose.words.ai module

The Aspose.Words.AI namespace provides seamless integration with large language models (LLMs) for AI-powered document processing. It supports AI models from providers such as OpenAI, Google Gemini, and Anthropic, as well as on-premise LLM inference through Aspose.LLM.

Classes within this namespace allow to leverage advanced AI capabilities to perform tasks such as summarizing, translating, checking grammar, and analyzing the content of documents loaded into Aspose.Words.

Both cloud-based and on-premise AI models can be used to extend document automation workflows, enabling efficient and high-quality text processing while providing flexibility in how document content is processed and where it is hosted.

Classes

ClassDescription
AiModelAn abstract class representing the integration with various AI models within the Aspose.Words.
AnthropicAiModelAn abstract class representing the integration with Anthropic’s AI models within the Aspose.Words.
AsposeLlmModelProvides AI-powered document processing backed by Aspose.LLM - an on-premise LLM inference engine that runs entirely inside the current process, so document content never leaves the machine.
CheckGrammarOptionsAllows to specify various options while checking grammar of a document using AI.
GoogleAiModelClass representing Google AI Models (Gemini) integration within Aspose.Words.
OpenAiModelClass representing OpenAi models integration within Aspose.Words.
SummarizeOptionsAllows to specify various options for summarizing document content.

Enumerations

EnumerationDescription
AiModelTypeRepresents the types of AiModel that can be integrated into the document processing workflow.
LanguageSpecifies the language into which the text will be translated using AI. .
SummaryLengthEnumerates possible lengths of summary.