Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Purpose Summary. What is this page about?
This page outlines the AI model families supported by Aspose.Words for Python via .NET and explains how to create AiModel instances using the AiModelType enumeration.
Aspose.Words now leverages advanced AI models to enhance document processing and analysis. With the Aspose.Words.AI namespace, developers can access AI‑powered features such as document summarization and analysis, document translation, and grammar checking by integrating generative language models from industry leaders.
Aspose.Words library currently supports integration with:
These models bring powerful capabilities for working with documents. By enabling seamless interaction with these AI tools, Aspose.Words simplifies complex tasks and enhances productivity for developers.
You can create a model instance using the create method of the AiModel class.
The following code example shows how to create a new instance of AiModel class.
model = aw.ai.AiModel.create(aw.ai.AiModelType.GPT_4O_MINI).with_api_key("API_KEY")Q: Which AI model families are currently supported by Aspose.Words for Python?
A: Aspose.Words supports models from OpenAI, Google (Gemini), and Anthropic (Claude). The available models are listed in the AiModelType enumeration.
Q: How do I create an AiModel instance for a particular model type?
A: Use the static create method of the AiModel class and pass a value from the AiModelType enumeration. Example:
model = aw.ai.AiModel.create(aw.ai.AiModelType.GPT_4O_MINI).with_api_key("API_KEY")
Q: Where can I find the current list of supported model types? A: Refer to the AiModelType API reference for the current list of supported values.
Q: Is it possible to switch the AI model used for summarization at runtime?
A: Create a new AiModel with the desired AiModelType and use that model to call the summarization API.
Q: How do I know which current provider models are available?
A: Check the AiModelType API reference because the supported model list evolves as providers update their services.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.