File tree Expand file tree Collapse file tree 15 files changed +306
-6
lines changed
content/python-net/english
aspose.slides.charts/displayunittype Expand file tree Collapse file tree 15 files changed +306
-6
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ weight: 12
14
14
| Name | Description |
15
15
| :- | :- |
16
16
| [ ` aspose.slides ` ] ( /slides/python-net/aspose.slides/ ) | Contains classes for work with Microsoft PowerPoint presentations without utilizing Microsoft PowerPoint. |
17
+ | [ ` aspose.slides.ai ` ] ( /slides/python-net/aspose.slides.ai/ ) | Contains classes that provide AI-based features for analyzing and processing PowerPoint presentations. |
17
18
| [ ` aspose.slides.animation ` ] ( /slides/python-net/aspose.slides.animation/ ) | Contains classes for work with animation in Microsoft PowerPoint presentations. |
18
19
| [ ` aspose.slides.charts ` ] ( /slides/python-net/aspose.slides.charts/ ) | Contains classes for work with charts in Microsoft PowerPoint presentations. |
19
20
| [ ` aspose.slides.dom.ole ` ] ( /slides/python-net/aspose.slides.dom.ole/ ) | Contains classes for work with OLE objects in Microsoft PowerPoint presentations. |
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : aspose.slides.ai
3
+ second_title : Aspose.Slides for Python via .NET API Reference
4
+ description :
5
+ type : docs
6
+ url : /aspose.slides.ai/
7
+ ---
8
+
9
+
10
+ Contains classes that provide AI-based features for analyzing and processing PowerPoint presentations.
11
+ ## Classes
12
+
13
+ | Class | Description |
14
+ | :- | :- |
15
+ | [ ` IAIWebClient ` ] ( /slides/python-net/aspose.slides.ai/iaiwebclient/ ) | |
16
+ | [ ` OpenAIWebClient ` ] ( /slides/python-net/aspose.slides.ai/openaiwebclient/ ) | Build-in lightweight OpenAI web client |
17
+ | [ ` SlidesAIAgent ` ] ( /slides/python-net/aspose.slides.ai/slidesaiagent/ ) | Provides AI-powered features for processing presentations. |
18
+ | [ ` SlidesAIAgentException ` ] ( /slides/python-net/aspose.slides.ai/slidesaiagentexception/ ) | |
19
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : IAIWebClient class
3
+ second_title : Aspose.Slides for Python via .NET API Reference
4
+ description :
5
+ type : docs
6
+ url : /aspose.slides.ai/iaiwebclient/
7
+ ---
8
+
9
+
10
+ ## IAIWebClient class
11
+
12
+ The IAIWebClient 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
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : OpenAIWebClient constructor
3
+ second_title : Aspose.Slides for Python via .NET API Reference
4
+ description :
5
+ type : docs
6
+ url : /aspose.slides.ai/openaiwebclient/__init__/
7
+ weight : 10
8
+ ---
9
+
10
+
11
+ ## __ init__ {#str-str-str}
12
+ Creates instance of OpenAI Web client.
13
+
14
+
15
+ ``` python
16
+ def __init__ (self , model , api_key , organization_id ):
17
+ ...
18
+ ```
19
+
20
+
21
+ | Parameter | Type | Description |
22
+ | :- | :- | :- |
23
+ | model | ** str** | OpenAI language model. Possible values:<br /><br /> - gpt-4o<br /><br /> - gpt-4o-mini<br /><br /> - o1<br /><br /> - o1-mini<br /><br /> - o3<br /><br /> - o3-mini |
24
+ | api_key | ** str** | OpenAI API key |
25
+ | organization_id | ** str** | Organization ID (optional) |
26
+
27
+ ### Exceptions
28
+
29
+ | Exception | Description |
30
+ | :- | :- |
31
+ | ** RuntimeError(Proxy error(ArgumentException))** | API key value can't be None or empty |
32
+ | ** RuntimeError(Proxy error(ArgumentException))** | Text model value can't be None or empty |
33
+
34
+
35
+
36
+ ### See Also
37
+ * class [ ` OpenAIWebClient ` ] ( /slides/python-net/aspose.slides.ai/openaiwebclient )
38
+ * module [ ` aspose.slides.ai ` ] ( /slides/python-net/aspose.slides.ai )
39
+ * library [ ` Aspose.Slides ` ] ( /slides/python-net )
40
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : OpenAIWebClient class
3
+ second_title : Aspose.Slides for Python via .NET API Reference
4
+ description :
5
+ type : docs
6
+ url : /aspose.slides.ai/openaiwebclient/
7
+ ---
8
+
9
+
10
+ ## OpenAIWebClient class
11
+
12
+ Build-in lightweight OpenAI web client
13
+
14
+ The OpenAIWebClient type exposes the following members:
15
+
16
+ ## Constructors
17
+
18
+ | Constructor | Description |
19
+ | :- | :- |
20
+ | [ ` __init__ ` ] ( /slides/python-net/aspose.slides.ai/openaiwebclient/__init__/#str-str-str ) | Creates instance of OpenAI Web client. |
21
+
22
+
23
+ ### See Also
24
+ * module [ ` aspose.slides.ai ` ] ( /slides/python-net/aspose.slides.ai )
25
+ * library [ ` Aspose.Slides ` ] ( /slides/python-net )
26
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : SlidesAIAgent constructor
3
+ second_title : Aspose.Slides for Python via .NET API Reference
4
+ description :
5
+ type : docs
6
+ url : /aspose.slides.ai/slidesaiagent/__init__/
7
+ weight : 10
8
+ ---
9
+
10
+
11
+ ## __ init__ {#iaiwebclient}
12
+ SlidesAIAgent constructor
13
+
14
+
15
+ ``` python
16
+ def __init__ (self , ai_client ):
17
+ ...
18
+ ```
19
+
20
+
21
+ | Parameter | Type | Description |
22
+ | :- | :- | :- |
23
+ | ai_client | [ ` IAIWebClient ` ] ( /slides/python-net/aspose.slides.ai/iaiwebclient ) | |
24
+
25
+ ### Exceptions
26
+
27
+ | Exception | Description |
28
+ | :- | :- |
29
+ | ** RuntimeError(Proxy error(ArgumentNullException))** | AI client instance is not provided |
30
+
31
+
32
+
33
+ ### See Also
34
+ * class [ ` IAIWebClient ` ] ( /slides/python-net/aspose.slides.ai/iaiwebclient )
35
+ * class [ ` SlidesAIAgent ` ] ( /slides/python-net/aspose.slides.ai/slidesaiagent )
36
+ * module [ ` aspose.slides.ai ` ] ( /slides/python-net/aspose.slides.ai )
37
+ * library [ ` Aspose.Slides ` ] ( /slides/python-net )
38
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : SlidesAIAgent class
3
+ second_title : Aspose.Slides for Python via .NET API Reference
4
+ description :
5
+ type : docs
6
+ url : /aspose.slides.ai/slidesaiagent/
7
+ ---
8
+
9
+
10
+ ## SlidesAIAgent class
11
+
12
+ Provides AI-powered features for processing presentations.
13
+
14
+ The SlidesAIAgent type exposes the following members:
15
+
16
+ ## Constructors
17
+
18
+ | Constructor | Description |
19
+ | :- | :- |
20
+ | [ ` __init__ ` ] ( /slides/python-net/aspose.slides.ai/slidesaiagent/__init__/#iaiwebclient ) | SlidesAIAgent constructor |
21
+
22
+ ## Methods
23
+
24
+ | Method | Description |
25
+ | :- | :- |
26
+ | [ ` translate ` ] ( /slides/python-net/aspose.slides.ai/slidesaiagent/translate/#ipresentation-str ) | Translates a presentation to the specified language using AI (synchronous version). |
27
+
28
+
29
+ ### See Also
30
+ * module [ ` aspose.slides.ai ` ] ( /slides/python-net/aspose.slides.ai )
31
+ * library [ ` Aspose.Slides ` ] ( /slides/python-net )
32
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : translate method
3
+ second_title : Aspose.Slides for Python via .NET API Reference
4
+ description :
5
+ type : docs
6
+ url : /aspose.slides.ai/slidesaiagent/translate/
7
+ weight : 20
8
+ ---
9
+
10
+
11
+ ## translate {#ipresentation-str}
12
+ Translates a presentation to the specified language using AI (synchronous version).
13
+
14
+
15
+ ``` python
16
+ def translate (self , presentation , language ):
17
+ ...
18
+ ```
19
+
20
+
21
+ | Parameter | Type | Description |
22
+ | :- | :- | :- |
23
+ | presentation | [ ` IPresentation ` ] ( /slides/python-net/aspose.slides/ipresentation ) | Target presentation |
24
+ | language | ** str** | Target language |
25
+
26
+ ### Exceptions
27
+
28
+ | Exception | Description |
29
+ | :- | :- |
30
+ | ** RuntimeError(Proxy error(ArgumentNullException))** | Presentation instance is not provided |
31
+ | ** RuntimeError(Proxy error(ArgumentException))** | Language value can't be None or empty |
32
+
33
+
34
+
35
+ ### See Also
36
+ * class [ ` IPresentation ` ] ( /slides/python-net/aspose.slides/ipresentation )
37
+ * class [ ` SlidesAIAgent ` ] ( /slides/python-net/aspose.slides.ai/slidesaiagent )
38
+ * module [ ` aspose.slides.ai ` ] ( /slides/python-net/aspose.slides.ai )
39
+ * library [ ` Aspose.Slides ` ] ( /slides/python-net )
40
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : SlidesAIAgentException constructor
3
+ second_title : Aspose.Slides for Python via .NET API Reference
4
+ description :
5
+ type : docs
6
+ url : /aspose.slides.ai/slidesaiagentexception/__init__/
7
+ weight : 10
8
+ ---
9
+
10
+
11
+ ## __ init__ {#str}
12
+
13
+
14
+
15
+ ``` python
16
+ def __init__ (self , message ):
17
+ ...
18
+ ```
19
+
20
+
21
+ | Parameter | Type | Description |
22
+ | :- | :- | :- |
23
+ | message | ** str** | |
24
+
25
+
26
+
27
+ ### See Also
28
+ * class [ ` SlidesAIAgentException ` ] ( /slides/python-net/aspose.slides.ai/slidesaiagentexception )
29
+ * module [ ` aspose.slides.ai ` ] ( /slides/python-net/aspose.slides.ai )
30
+ * library [ ` Aspose.Slides ` ] ( /slides/python-net )
31
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : SlidesAIAgentException class
3
+ second_title : Aspose.Slides for Python via .NET API Reference
4
+ description :
5
+ type : docs
6
+ url : /aspose.slides.ai/slidesaiagentexception/
7
+ ---
8
+
9
+
10
+ ## SlidesAIAgentException class
11
+
12
+ The SlidesAIAgentException type exposes the following members:
13
+
14
+ ## Constructors
15
+
16
+ | Constructor | Description |
17
+ | :- | :- |
18
+ | [ ` __init__ ` ] ( /slides/python-net/aspose.slides.ai/slidesaiagentexception/__init__/#str ) | |
19
+
20
+
21
+ ### See Also
22
+ * module [ ` aspose.slides.ai ` ] ( /slides/python-net/aspose.slides.ai )
23
+ * library [ ` Aspose.Slides ` ] ( /slides/python-net )
24
+
You can’t perform that action at this time.
0 commit comments