PdfAI Class |
Namespace: Spire.Pdf.AI
The PdfAI type exposes the following members.
Name | Description | |
---|---|---|
![]() |
Credits |
Gets Remaining Credits.
(Inherited from
SpireAI
.)
|
![]() |
NumberCost |
Gets the cost for the last call.
(Inherited from
SpireAI
.)
|
![]() |
SessionID | (Inherited from SpireAI .) |
Name | Description | |
---|---|---|
![]() |
Ask(String) |
Performs a question-answering task using AI.
|
![]() |
Ask(String, Boolean) |
Performs a question-answering task using AI.
|
![]() |
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.
|
![]() |
DocumentSearch(String, String, Dictionary String, String , Boolean) |
Performs a question-searching task using the AI service with the specified question.
|
![]() |
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
![]() |
Generate |
Create a document
|
![]() |
GetAppKey | (Overrides SpireAI GetAppKey .) |
![]() |
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
![]() |
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
![]() |
ImageGenerate(String) |
Generate images from text using AI.
|
![]() |
ImageGenerate(String, ImageGenarationModel, ImageGenarationSize) |
Generate images from text using AI.
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() |
ResetChatHistory |
Reset chat history associated with current sessionID
/// the id of chat session.
|
![]() |
Search |
Performs a question-answering task using AI.
|
![]() |
Summary |
Generate a summary for document
|
![]() |
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
![]() |
Translate |
Translate the document into specified language
|
![]() |
UploadDocument |
Uploads document to the AI service.
|
Name | Description | |
---|---|---|
![]() |
left_count | (Inherited from SpireAI .) |
![]() |
number_cost | (Inherited from SpireAI .) |
![]() |
session_id | (Inherited from SpireAI .) |