Skip to content

Commit 96f8b15

Browse files
Aspose.Slides for .NET 25.7 API Reference
1 parent 6a71e28 commit 96f8b15

File tree

1,282 files changed

+2914
-2413
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,282 files changed

+2914
-2413
lines changed

content/net/english/aspose.slides.ai/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ Contains classes that provide AI-based features for analyzing and processing Pow
2020

2121
| Interface | Description |
2222
| --- | --- |
23+
| [IAIConversation](./iaiconversation) | Represents a conversation instance. Unlike regular AI calls, conversations retain the entire context. |
2324
| [IAIWebClient](./iaiwebclient) | AI Web client interface. This interface enables to substitute different AI language models. Classes that implement this interface are supposed to be used along with `SlidesAIAgent`. |
25+
## Enumeration
26+
27+
| Enumeration | Description |
28+
| --- | --- |
29+
| [PresentationContentAmountType](./presentationcontentamounttype) | Specifies the amount of content included in the generated presentation, influencing both the number of slides and the level of detail per slide. |
2430

2531
<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Slides.dll -->
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: IAIConversation
3+
second_title: Aspose.Sildes for .NET API Reference
4+
description: Represents a conversation instance. Unlike regular AI calls conversations retain the entire context.
5+
type: docs
6+
weight: 10
7+
url: /aspose.slides.ai/iaiconversation/
8+
---
9+
10+
## IAIConversation interface
11+
12+
Represents a conversation instance. Unlike regular AI calls, conversations retain the entire context.
13+
14+
```csharp
15+
public interface IAIConversation
16+
```
17+
18+
## Methods
19+
20+
| Name | Description |
21+
| --- | --- |
22+
| [GetResponseAsync](../../aspose.slides.ai/iaiconversation/getresponseasync)(string) | Sends conversation request message including entire context and returns response. |
23+
24+
### See Also
25+
26+
* namespace [Aspose.Slides.AI](../../aspose.slides.ai)
27+
* assembly [Aspose.Slides](../../)
28+
29+
<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Slides.dll -->
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: GetResponseAsync
3+
second_title: Aspose.Sildes for .NET API Reference
4+
description: Sends conversation request message including entire context and returns response.
5+
type: docs
6+
weight: 10
7+
url: /aspose.slides.ai/iaiconversation/getresponseasync/
8+
---
9+
10+
## IAIConversation.GetResponseAsync method
11+
12+
Sends conversation request message including entire context and returns response.
13+
14+
```csharp
15+
public Task<string> GetResponseAsync(string instruction)
16+
```
17+
18+
| Parameter | Type | Description |
19+
| --- | --- | --- |
20+
| instruction | String | The instruction or message to be processed by the AI model. |
21+
22+
### Return Value
23+
24+
The message generated by the AI model in response to the given instruction within conversation context.
25+
26+
### See Also
27+
28+
* interface [IAIConversation](../../iaiconversation)
29+
* namespace [Aspose.Slides.AI](../../iaiconversation)
30+
* assembly [Aspose.Slides](../../../)
31+
32+
<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Slides.dll -->

content/net/english/aspose.slides.ai/iaiwebclient/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: IAIWebClient
33
second_title: Aspose.Sildes for .NET API Reference
44
description: AI Web client interface. This interface enables to substitute different AI language models. Classes that implement this interface are supposed to be used along with SlidesAIAgent.
55
type: docs
6-
weight: 10
6+
weight: 20
77
url: /aspose.slides.ai/iaiwebclient/
88
---
99

@@ -20,6 +20,7 @@ public interface IAIWebClient
2020
| Name | Description |
2121
| --- | --- |
2222
| [CallChatAsync](../../aspose.slides.ai/iaiwebclient/callchatasync)(string) | Sends a chat instruction to the AI model using a provided `HttpClient` instance and return response message to the given instruction. |
23+
| [CreateConversation](../../aspose.slides.ai/iaiwebclient/createconversation)() | Creates a conversation instance. Unlike regular AI calls, conversations retain the entire context. |
2324

2425
### See Also
2526

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: CreateConversation
3+
second_title: Aspose.Sildes for .NET API Reference
4+
description: Creates a conversation instance. Unlike regular AI calls conversations retain the entire context.
5+
type: docs
6+
weight: 20
7+
url: /aspose.slides.ai/iaiwebclient/createconversation/
8+
---
9+
10+
## IAIWebClient.CreateConversation method
11+
12+
Creates a conversation instance. Unlike regular AI calls, conversations retain the entire context.
13+
14+
```csharp
15+
public IAIConversation CreateConversation()
16+
```
17+
18+
### Return Value
19+
20+
An [`IAIConversation`](../../iaiconversation) instance.
21+
22+
### See Also
23+
24+
* interface [IAIConversation](../../iaiconversation)
25+
* interface [IAIWebClient](../../iaiwebclient)
26+
* namespace [Aspose.Slides.AI](../../iaiwebclient)
27+
* assembly [Aspose.Slides](../../../)
28+
29+
<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Slides.dll -->

content/net/english/aspose.slides.ai/openaiwebclient/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: OpenAIWebClient
33
second_title: Aspose.Sildes for .NET API Reference
44
description: Build-in lightweight OpenAI web client
55
type: docs
6-
weight: 20
6+
weight: 30
77
url: /aspose.slides.ai/openaiwebclient/
88
---
99

@@ -27,6 +27,7 @@ public class OpenAIWebClient : IAIWebClient, IDisposable
2727
| Name | Description |
2828
| --- | --- |
2929
| [CallChatAsync](../../aspose.slides.ai/openaiwebclient/callchatasync)(string) | Sends a chat instruction to the AI model using an externally managed `HttpClient` instance and returns response message to the given instruction. |
30+
| [CreateConversation](../../aspose.slides.ai/openaiwebclient/createconversation)() | Creates a conversation instance. Unlike regular AI calls, conversations retain the entire context. |
3031
| [Dispose](../../aspose.slides.ai/openaiwebclient/dispose)() | Releases resources used by this instance. |
3132

3233
### See Also

content/net/english/aspose.slides.ai/openaiwebclient/callchatasync/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ The message generated by the AI model in response to the given instruction.
2828
| exception | condition |
2929
| --- | --- |
3030
| ArgumentException | Open AI chat instruction can't be null or empty |
31-
| ArgumentNullException | `HttpClient` instance is not provided |
3231

3332
### See Also
3433

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: CreateConversation
3+
second_title: Aspose.Sildes for .NET API Reference
4+
description: Creates a conversation instance. Unlike regular AI calls conversations retain the entire context.
5+
type: docs
6+
weight: 30
7+
url: /aspose.slides.ai/openaiwebclient/createconversation/
8+
---
9+
10+
## OpenAIWebClient.CreateConversation method
11+
12+
Creates a conversation instance. Unlike regular AI calls, conversations retain the entire context.
13+
14+
```csharp
15+
public IAIConversation CreateConversation()
16+
```
17+
18+
### Return Value
19+
20+
An [`IAIConversation`](../../iaiconversation) instance.
21+
22+
### See Also
23+
24+
* interface [IAIConversation](../../iaiconversation)
25+
* class [OpenAIWebClient](../../openaiwebclient)
26+
* namespace [Aspose.Slides.AI](../../openaiwebclient)
27+
* assembly [Aspose.Slides](../../../)
28+
29+
<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Slides.dll -->

content/net/english/aspose.slides.ai/openaiwebclient/dispose/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Dispose
33
second_title: Aspose.Sildes for .NET API Reference
44
description: Releases resources used by this instance.
55
type: docs
6-
weight: 30
6+
weight: 40
77
url: /aspose.slides.ai/openaiwebclient/dispose/
88
---
99

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: PresentationContentAmountType
3+
second_title: Aspose.Sildes for .NET API Reference
4+
description: Specifies the amount of content included in the generated presentation influencing both the number of slides and the level of detail per slide.
5+
type: docs
6+
weight: 40
7+
url: /aspose.slides.ai/presentationcontentamounttype/
8+
---
9+
10+
## PresentationContentAmountType enumeration
11+
12+
Specifies the amount of content included in the generated presentation, influencing both the number of slides and the level of detail per slide.
13+
14+
```csharp
15+
public enum PresentationContentAmountType
16+
```
17+
18+
### Values
19+
20+
| Name | Value | Description |
21+
| --- | --- | --- |
22+
| Brief | `0` | Short and basic content. |
23+
| Medium | `1` | A moderate amount of content. |
24+
| Detailed | `2` | The most detailed option with extensive text. |
25+
26+
### See Also
27+
28+
* namespace [Aspose.Slides.AI](../../aspose.slides.ai)
29+
* assembly [Aspose.Slides](../../)
30+
31+
<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Slides.dll -->

0 commit comments

Comments
 (0)