Click or drag to resize

PdfAI Class

Inheritance Hierarchy
System Object
Spire.Pdf.AI SpireAI
Spire.Pdf.AI PdfAI

Namespace: Spire.Pdf.AI
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfAI : SpireAI

The PdfAI type exposes the following members.

Constructors
Name Description
Public method PdfAI
Build a PdfAI instance
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(String)
Performs a question-answering task using AI.
Public method Ask(String, Boolean)
Performs a question-answering task using AI.
Public method DocumentSearch(String, String, Boolean)
Performs a question-answering 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 document
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 ResetChatHistory
Reset chat history associated with current sessionID /// the id of chat session.
Public method Search
Performs a question-answering task using AI.
Public method Summary
Generate a summary for document
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method Translate
Translate the document into specified language
Public method UploadDocument
Uploads document 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