AnthropicAiModel
Contents
[
Hide
]AnthropicAiModel class
An abstract class representing the integration with Anthropic’s AI models within the Aspose.Words.
public abstract class AnthropicAiModel : AiModel, IAiModelText
Properties
| Name | Description |
|---|---|
| Timeout { get; set; } | Gets or sets the number of milliseconds to wait before the request to AI model times out. The default value is 100,000 milliseconds (100 seconds). |
| override Url { get; set; } | Gets or sets a URL of the model. The default value is “https://api.anthropic.com/". |
Methods
| Name | Description |
|---|---|
| virtual CheckGrammar(Document, CheckGrammarOptions) | Checks grammar of the provided document. This operation leverages the connected AI model for checking grammar of document. |
| override Summarize(Document, SummarizeOptions) | 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. |
| override Summarize(Document[], SummarizeOptions) | 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. |
| override Translate(Document, Language) | Translates the provided document into the specified target language. This operation leverages the connected AI model for content translating. |
| WithApiKey(string) | Sets a specified API key to the model. |
See Also
- class AiModel
- namespace Aspose.Words.AI
- assembly Aspose.Words