AsposeAIWebClient class

AsposeAIWebClient class

A built-in IAIWebClient implementation that connects to Aspose’s own LLM. This is the default client used by the parameterless SlidesAIAgent.#ctor constructor.

The AsposeAIWebClient type exposes the following members:

Constructors

ConstructorDescription
__init__Creates an instance of the Aspose AI web client that connects to the default Aspose LLM endpoint.
This is the client used by the parameterless SlidesAIAgent.#ctor constructor, so creating
it explicitly is only required when passing the client to the Aspose.Slides.AI.SlidesAIAgent.#ctor(Aspose.Slides.A
constructor directly.
__init__Creates an instance of the Aspose AI web client that connects to a custom endpoint URL. Use this
overload when you have a URL provided by the Aspose.Slides team; otherwise, use the
AsposeAIWebClient.#ctor overload with the default URL.

Methods

MethodDescription
create_conversationCreates a conversation instance. Unlike regular AI calls, conversations retain the entire context.

See Also