Click or drag to resize

PdfAI Methods

The PdfAI type exposes the following members.

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
See Also