Aspose::Words::AI::AnthropicAiModel class

AnthropicAiModel class

An abstract class representing the integration with Anthropic’s AI models within the Aspose.Words.

class AnthropicAiModel : public Aspose::Words::AI::AiModel,
                         public Aspose::Words::AI::IAiModelText

Methods

MethodDescription
virtual CheckGrammar(System::SharedPtr<Aspose::Words::Document>, System::SharedPtr<Aspose::Words::AI::CheckGrammarOptions>)Checks grammar of the provided document. This operation leverages the connected AI model for checking grammar of document.
static Create(Aspose::Words::AI::AiModelType)Creates a new instance of AiModel class.
GetType() const override
Is(const System::TypeInfo&) const override
Summarize(System::SharedPtr<Aspose::Words::Document>, System::SharedPtr<Aspose::Words::AI::SummarizeOptions>) overrideGenerates 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(System::ArrayPtr<System::SharedPtr<Aspose::Words::Document>>, System::SharedPtr<Aspose::Words::AI::SummarizeOptions>) overrideGenerates 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(System::SharedPtr<Aspose::Words::Document>, Aspose::Words::AI::Language) overrideTranslates the provided document into the specified target language. This operation leverages the connected AI model for content translating.
static Type()
WithApiKey(const System::String&)Sets a specified API key to the model.

See Also