Skip to content

Commit f2a1fd4

Browse files
Aspose.Slides for Python via .NET 25.7 API Reference
1 parent a097335 commit f2a1fd4

File tree

277 files changed

+1992
-1569
lines changed

Some content is hidden

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

277 files changed

+1992
-1569
lines changed

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

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

1313
| Class | Description |
1414
| :- | :- |
15+
| [`IAIConversation`](/slides/python-net/aspose.slides.ai/iaiconversation/) | |
1516
| [`IAIWebClient`](/slides/python-net/aspose.slides.ai/iaiwebclient/) | |
1617
| [`OpenAIWebClient`](/slides/python-net/aspose.slides.ai/openaiwebclient/) | Build-in lightweight OpenAI web client |
1718
| [`SlidesAIAgent`](/slides/python-net/aspose.slides.ai/slidesaiagent/) | Provides AI-powered features for processing presentations. |
1819
| [`SlidesAIAgentException`](/slides/python-net/aspose.slides.ai/slidesaiagentexception/) | |
1920

21+
## Enumerations
22+
23+
| Enumeration | Description |
24+
| :- | :- |
25+
| [`PresentationContentAmountType`](/slides/python-net/aspose.slides.ai/presentationcontentamounttype/) | |
26+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: IAIConversation class
3+
second_title: Aspose.Slides for Python via .NET API Reference
4+
description:
5+
type: docs
6+
url: /aspose.slides.ai/iaiconversation/
7+
---
8+
9+
10+
## IAIConversation class
11+
12+
The IAIConversation type exposes the following members:
13+
14+
15+
### See Also
16+
* module [`aspose.slides.ai`](/slides/python-net/aspose.slides.ai)
17+
* library [`Aspose.Slides`](/slides/python-net)
18+

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ url: /aspose.slides.ai/iaiwebclient/
1111

1212
The IAIWebClient type exposes the following members:
1313

14+
## Methods
15+
16+
| Method | Description |
17+
| :- | :- |
18+
| [`create_conversation`](/slides/python-net/aspose.slides.ai/iaiwebclient/create_conversation/#) | |
19+
1420

1521
### See Also
1622
* module [`aspose.slides.ai`](/slides/python-net/aspose.slides.ai)
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: create_conversation method
3+
second_title: Aspose.Slides for Python via .NET API Reference
4+
description:
5+
type: docs
6+
url: /aspose.slides.ai/iaiwebclient/create_conversation/
7+
weight: 10
8+
---
9+
10+
11+
## create_conversation {#}
12+
13+
14+
15+
```python
16+
def create_conversation(self):
17+
...
18+
```
19+
20+
21+
22+
23+
### See Also
24+
* class [`IAIConversation`](/slides/python-net/aspose.slides.ai/iaiconversation)
25+
* class [`IAIWebClient`](/slides/python-net/aspose.slides.ai/iaiwebclient)
26+
* module [`aspose.slides.ai`](/slides/python-net/aspose.slides.ai)
27+
* library [`Aspose.Slides`](/slides/python-net)
28+

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ The OpenAIWebClient type exposes the following members:
1919
| :- | :- |
2020
| [`__init__`](/slides/python-net/aspose.slides.ai/openaiwebclient/__init__/#str-str-str) | Creates instance of OpenAI Web client. |
2121

22+
## Methods
23+
24+
| Method | Description |
25+
| :- | :- |
26+
| [`create_conversation`](/slides/python-net/aspose.slides.ai/openaiwebclient/create_conversation/#) | Creates a conversation instance. Unlike regular AI calls, conversations retain the entire context. |
27+
2228

2329
### See Also
2430
* module [`aspose.slides.ai`](/slides/python-net/aspose.slides.ai)
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: create_conversation method
3+
second_title: Aspose.Slides for Python via .NET API Reference
4+
description:
5+
type: docs
6+
url: /aspose.slides.ai/openaiwebclient/create_conversation/
7+
weight: 20
8+
---
9+
10+
11+
## create_conversation {#}
12+
Creates a conversation instance. Unlike regular AI calls, conversations retain the entire context.
13+
14+
### Returns
15+
16+
An [`IAIConversation`](/slides/python-net/aspose.slides.ai/iaiconversation) instance.
17+
18+
19+
20+
```python
21+
def create_conversation(self):
22+
...
23+
```
24+
25+
26+
27+
28+
### See Also
29+
* class [`IAIConversation`](/slides/python-net/aspose.slides.ai/iaiconversation)
30+
* class [`OpenAIWebClient`](/slides/python-net/aspose.slides.ai/openaiwebclient)
31+
* module [`aspose.slides.ai`](/slides/python-net/aspose.slides.ai)
32+
* library [`Aspose.Slides`](/slides/python-net)
33+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: PresentationContentAmountType enumeration
3+
second_title: Aspose.Slides for Python via .NET API Reference
4+
description:
5+
type: docs
6+
url: /aspose.slides.ai/presentationcontentamounttype/
7+
---
8+
9+
10+
## PresentationContentAmountType enumeration
11+
12+
The PresentationContentAmountType type exposes the following members:
13+
14+
## Fields
15+
16+
| Field | Description |
17+
| :- | :- |
18+
| BRIEF | |
19+
| MEDIUM | |
20+
| DETAILED | |
21+
22+
23+
### See Also
24+
* module [`aspose.slides.ai`](/slides/python-net/aspose.slides.ai)
25+
* library [`Aspose.Slides`](/slides/python-net)
26+

content/python-net/english/aspose.slides.ai/slidesaiagent/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ The SlidesAIAgent type exposes the following members:
2323

2424
| Method | Description |
2525
| :- | :- |
26+
| [`generate_presentation`](/slides/python-net/aspose.slides.ai/slidesaiagent/generate_presentation/#str-presentationcontentamounttype) | Generates a presentation instance from a text description. Provide a topic, ideas, quotes, or text snippets in the required language. |
27+
| [`generate_presentation`](/slides/python-net/aspose.slides.ai/slidesaiagent/generate_presentation/#str-presentationcontentamounttype-ipresentation) | Generates a presentation instance from a text description. Provide a topic, ideas, quotes, or text snippets in the required language. |
2628
| [`translate`](/slides/python-net/aspose.slides.ai/slidesaiagent/translate/#ipresentation-str) | Translates a presentation to the specified language using AI (synchronous version). |
2729

2830

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: generate_presentation method
3+
second_title: Aspose.Slides for Python via .NET API Reference
4+
description:
5+
type: docs
6+
url: /aspose.slides.ai/slidesaiagent/generate_presentation/
7+
weight: 20
8+
---
9+
10+
11+
## generate_presentation {#str-presentationcontentamounttype}
12+
Generates a presentation instance from a text description. Provide a topic, ideas, quotes, or text snippets in the required language.
13+
14+
15+
```python
16+
def generate_presentation(self, description, presentation_content_amount):
17+
...
18+
```
19+
20+
21+
| Parameter | Type | Description |
22+
| :- | :- | :- |
23+
| description | **str** | The topic, ideas, quotes, or text snippets. |
24+
| presentation_content_amount | [`PresentationContentAmountType`](/slides/python-net/aspose.slides.ai/presentationcontentamounttype) | The amount of content in the resulting presentation. |
25+
26+
### Exceptions
27+
28+
| Exception | Description |
29+
| :- | :- |
30+
| **RuntimeError(Proxy error(ArgumentException))** | AI chat instruction can't be None or empty. |
31+
32+
33+
## generate_presentation {#str-presentationcontentamounttype-ipresentation}
34+
Generates a presentation instance from a text description. Provide a topic, ideas, quotes, or text snippets in the required language.
35+
36+
37+
```python
38+
def generate_presentation(self, description, presentation_content_amount, presentation_template):
39+
...
40+
```
41+
42+
43+
| Parameter | Type | Description |
44+
| :- | :- | :- |
45+
| description | **str** | The topic, ideas, quotes, or text snippets. |
46+
| presentation_content_amount | [`PresentationContentAmountType`](/slides/python-net/aspose.slides.ai/presentationcontentamounttype) | The amount of content in the resulting presentation. |
47+
| presentation_template | [`IPresentation`](/slides/python-net/aspose.slides/ipresentation) | A presentation to use as a template for layout and design, replacing the default template. |
48+
49+
### Exceptions
50+
51+
| Exception | Description |
52+
| :- | :- |
53+
| **RuntimeError(Proxy error(ArgumentNullException))** | Presentation template is not provided. |
54+
| **RuntimeError(Proxy error(ArgumentException))** | AI chat instruction can't be None or empty. |
55+
56+
57+
58+
### See Also
59+
* class [`IPresentation`](/slides/python-net/aspose.slides/ipresentation)
60+
* enumeration [`PresentationContentAmountType`](/slides/python-net/aspose.slides.ai/presentationcontentamounttype)
61+
* class [`SlidesAIAgent`](/slides/python-net/aspose.slides.ai/slidesaiagent)
62+
* module [`aspose.slides.ai`](/slides/python-net/aspose.slides.ai)
63+
* library [`Aspose.Slides`](/slides/python-net)
64+

content/python-net/english/aspose.slides.ai/slidesaiagent/translate/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ second_title: Aspose.Slides for Python via .NET API Reference
44
description:
55
type: docs
66
url: /aspose.slides.ai/slidesaiagent/translate/
7-
weight: 20
7+
weight: 30
88
---
99

1010

0 commit comments

Comments
 (0)