SlidesAIAgent
Contents
[
Hide
]SlidesAIAgent class
Provides AI-powered features for processing presentations.
public class SlidesAIAgent
Constructors
| Name | Description |
|---|---|
| SlidesAIAgent() | Initializes a new instance of SlidesAIAgent using the built-in AsposeAIWebClient with its default configuration. The client connects to Aspose’s own LLM and requires no additional configuration. To use a different AI client, use the SlidesAIAgent overload instead. |
| SlidesAIAgent(IAIWebClient) | Initializes a new instance of SlidesAIAgent with a custom AI client. Use this overload to specify the AI provider, supply your own LLM, or customize the connection (for example, by providing your own HttpClient). Any implementation of IAIWebClient can be used, including: |
Methods
| Name | Description |
|---|---|
| GeneratePresentation(string, PresentationContentAmountType) | Generates a presentation instance from a text description. Provide a topic, ideas, quotes, or text snippets in the required language. |
| GeneratePresentation(string, PresentationContentAmountType, IPresentation) | Generates a presentation instance from a text description. Provide a topic, ideas, quotes, or text snippets in the required language. |
| GeneratePresentationAsync(string, PresentationContentAmountType) | Generates a presentation instance from a text description. Provide a topic, ideas, quotes, or text snippets in the required language. |
| GeneratePresentationAsync(string, PresentationContentAmountType, IPresentation) | Generates a presentation instance from a text description. Provide a topic, ideas, quotes, or text snippets in the required language. |
| Translate(IPresentation, string) | Translates a presentation to the specified language using AI (synchronous version). |
| TranslateAsync(IPresentation, string) | Translates a presentation to the specified language using AI. |
See Also
- namespace Aspose.Slides.AI
- assembly Aspose.Slides