Lớp SheetizeAI

Lớp SheetizeAI

Sheetize AI là một SDK .NET được hỗ trợ bởi AI cho phép các nhà phát triển và người dùng nâng cao tạo, chỉnh sửa và phân tích bảng tính.
public class SheetizeAI

Kế thừa

object AI

Các thành viên kế thừa

Ví dụ

[C#]
public static class SheetizeAIExample
{
    private static string ApiKey = "";
    private static string ApiUrl = "https://llm.professionalize.com/v1/chat/completions";
    public async static Task ExampleBuildSpreadsheet()
    {
        Configuration.Model = Model.Recommended;
        SheetizeAI sheetizeAI = new SheetizeAI(ApiKey, true, ApiUrl);
        sheetizeAI.SetLicense("Sheetize.AI.lic");
        await sheetizeAI.BuildSpreadsheet("C:\\Shift_Work_Calendar.xlsx", "C:\\Shift_Work_Calendar_Modified.xlsx", "Change the value of cell A1 to Testing" , null);
    }
}

Phương thức

Tạo tóm tắt văn bản cho một tệp bảng tính cho trước

    public async Task SpreadsheetSummary(string filePath, TextWriter writer, string password = null)
    public async Task<string> SpreadsheetSummary(string filePath, string password = null)

Tạo công thức Excel cho một tệp bảng tính cho trước

    public async Task<string> GetExcelFormula(string filePath, string question, string password = null)
    public async Task GetExcelFormula(string filePath, string question, TextWriter writer, string password = null)

Trả lời các câu hỏi về một tệp bảng tính cho trước

    public async Task SpreadsheetQuestion(string filePath, string question, TextWriter writer, string password = null)
    public async Task<string> SpreadsheetQuestion(string filePath, string question, string password = null)

Tạo một tệp bảng tính mới dựa trên yêu cầu

     public async Task BuildSpreadsheet(string outputFilePath, string request, string password = null)

Sửa đổi dữ liệu của một tệp bảng tính

    public async Task BuildSpreadsheet(string filePath, string outputFilePath, string request, string password = null)

Namespace: Sheetize.AI | Assembly: Sheetize.AI.dll

 Tiếng Việt