Click or drag to resize

ExcelAI Class

Inheritance Hierarchy
System Object
Spire.Xls.AI SpireAI
Spire.Xls.AI ExcelAI

Namespace: Spire.Xls.AI
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class ExcelAI : SpireAI

The ExcelAI type exposes the following members.

Constructors
Name Description
Public method ExcelAI
Initializes a new instance of the ExcelAI class.
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 .)
Public method ExcelFill
Fills the Excel worksheet with data extracted from the specified data range, using the specified description range, column indexes, and keys.
Public method ExcelGenerate
Generates AI-based responses for Excel data processing.
Public method ExcelMerge
Merges the data from multiple range into a destination range using AI. Limited by the reasoning ability of AI, the processing results of irregular data may not be ideal. The amount of data processed is alos limited
Public method ExcelTranslate(List CellRange , String)
Translates the text within the specified cell ranges using AI.
Public method ExcelTranslate(List Worksheet , String, Boolean)
Translates the text within the specified worksheets using AI.
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 .)
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
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 ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method UploadFile
Uploads a file to the AI service.
Public method UploadWorkbook
Uploads workbook 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