AnthropicAiModel class

AnthropicAiModel class

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

Inheritance: AnthropicAiModelAiModel

Methods

NameDescription
asAnthropicAiModel()Cast AiModel to AnthropicAiModel.
(Inherited from AiModel)
asGoogleAiModel()Cast AiModel to GoogleAiModel.
(Inherited from AiModel)
asOpenAiModel()Cast AiModel to OpenAiModel.
(Inherited from AiModel)
checkGrammar(sourceDocument, options)Checks grammar of the provided document. This operation leverages the connected AI model for checking grammar of document.
(Inherited from AiModel)
create(modelType)Creates a new instance of AiModel class.
(Inherited from AiModel)
createClaude35Haiku()
(Inherited from AiModel)
createClaude35Sonnet()
(Inherited from AiModel)
createClaude3Haiku()
(Inherited from AiModel)
createClaude3Opus()
(Inherited from AiModel)
createClaude3Sonnet()
(Inherited from AiModel)
createGemini15Flash()
(Inherited from AiModel)
createGemini15Flash8B()
(Inherited from AiModel)
createGemini15Pro()
(Inherited from AiModel)
createGpt35Turbo()
(Inherited from AiModel)
createGpt4O()
(Inherited from AiModel)
createGpt4OMini()
(Inherited from AiModel)
createGpt4Turbo()
(Inherited from AiModel)
setApiKey(apiKey)Sets a specified API key to the model.
(Inherited from AiModel)
summarize(sourceDocument, 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(sourceDocuments, 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(sourceDocument, targetLanguage)Translates the provided document into the specified target language. This operation leverages the connected AI model for content translating.

See Also