DocAI Methods |
The DocAI type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
AbstractGenerate(Document, String) |
Generate an abstract within the document.
|
|
|
AbstractGenerate(Paragraph, String) |
Generate an abstract within the paragraph.
|
|
|
AbstractGenerate(TextRange, String) |
Generate an abstract within the text range.
|
|
|
Ask |
Performs a question-answering task using AI.
|
|
|
ContinueWriting(Document, String, String, String) |
According to the document, continue the writing of the article.
|
|
|
ContinueWriting(Paragraph, String, String, String) |
According to the paragraph, continue the writing of the article.
|
|
|
ContinueWriting(TextRange, String, String, String) |
According to the text range, continue the writing of the article.
|
|
|
DocumentGenerate |
Based on the topic to create a document.
|
|
|
DocumentMerge |
Merges the data from multiple documents into a destination document 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.
|
|
|
EntityRecognition(Document, String, String ) |
Recognize the entities within the document.
|
|
|
EntityRecognition(Paragraph, String, String ) |
Recognize the entities within the paragraph.
|
|
|
EntityRecognition(TextRange, String, String ) |
Recognize the entities within the text range.
|
|
|
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
.)
|
|
|
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
.)
|
|
|
Polish(Document, String) |
Polish the document.
|
|
|
Polish(Paragraph, String) |
Polish the text of paragraph.
|
|
|
Polish(TextRange, String) |
Polish the text of textrange.
|
|
|
ResetChatHistory |
Resets the chat history in the AI service.
|
|
|
ResetUserHistory |
Resets the user's all chat history in the AI service.
|
|
|
Search |
Performs a question-answering task using AI.
|
|
|
SpellCheck(Document, String) |
Check the spelling of the document.
|
|
|
SpellCheck(Paragraph, String) |
Check the spelling of the paragraph.
|
|
|
SpellCheck(TextRange, String) |
Check the spelling of the document.
|
|
|
SummaryGenerate(Document, String) |
Generate an summary within the document.
|
|
|
SummaryGenerate(Paragraph, String) |
Generate an summary within the paragraph.
|
|
|
SummaryGenerate(TextRange, String) |
Generate an summary within the text range.
|
|
|
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
|
|
Translate(Document, String) |
Translates the text within the specified document.
|
|
|
Translate(Paragraph, String) |
Translates the text within the specified paragraph.
|
|
|
Translate(TextRange, String) |
Translates the text within the text range.
|
|
|
UploadDocument |
Uploads document to the AI service.
|
|
|
UploadFile |
Uploads a file to the AI service.
|