Click or drag to resize

PresentationAI Class

Inheritance Hierarchy
System Object
Spire.Presentation.AI SpireAI
Spire.Presentation.AI PresentationAI

Namespace: Spire.Presentation.AI
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public class PresentationAI : SpireAI

The PresentationAI type exposes the following members.

Constructors
Name Description
Public method PresentationAI
构造接口入口
Top
Properties
Name Description
Public property Credits
Gets Remaining Credits.
(Inherited from SpireAI .)
Public property NumberCost
Gets the cost for the last call.
(Inherited from SpireAI .)
Public property SessionID (Inherited from SpireAI .)
Top
Methods
Name Description
Public method Ask
Performs a question-asking task using AI.
Public method DocumentSearch(String, String, Boolean)
Performs a question-searching task using the AI service with the specified question, for a file based on server-side path.
Public method DocumentSearch(String, String, Dictionary String, String , Boolean)
Performs a question-searching task using the AI service with the specified question.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method Generate
Create a Presentation by describe.
Protected method GetAppKey (Overrides SpireAI GetAppKey .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method ImageGenerate(String)
Generate images from text using AI.
Public method ImageGenerate(String, ImageGenarationModel, ImageGenarationSize)
Generate images from text using AI.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Polish
Touch up the text
Public method ResetChatHistory
Resets the chat history in the AI service.
Public method ResetUserHistory
Resets the user's all chat history in the AI service.
Public method Search
Ask a question using AI.
Public method Summarize
Summarize the content of shape text
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method Translate
Translate the text of the slide in the PPT into the specified language
Public method UploadFile
Uploads a file to the AI service.
Public method UploadPresentation
Uploads powerpoint to the AI service.
Top
Fields
Name Description
Protected field left_count (Inherited from SpireAI .)
Protected field number_cost (Inherited from SpireAI .)
Protected field session_id (Inherited from SpireAI .)
Top
See Also