Luokka SheetizeAI
Luokka SheetizeAI
Sheetize AI on AI‑voimainen .NET‑SDK, jonka avulla kehittäjät ja teho‑käyttäjät voivat luoda, muokata ja analysoida taulukoita.
public class SheetizeAIPeriytyminen
Perittyjä jäsenia
- object.GetType() ,
- object.MemberwiseClone() ,
- object.ToString() ,
- object.Equals(object?) ,
- object.Equals(object?, object?) ,
- object.ReferenceEquals(object?, object?) ,
- object.GetHashCode()
Esimerkit
[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);
}
}Menetelmät
Luo yhteenvedon teksti annetusta taulukkotiedostosta
public async Task SpreadsheetSummary(string filePath, TextWriter writer, string password = null)
public async Task<string> SpreadsheetSummary(string filePath, string password = null)Luo Excel‑kaava annetulle taulukkotiedostolle
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)Vastaa kysymyksiin annetusta taulukkotiedostosta
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)Luo uusi taulukkotiedosto annettujen vaatimusten perusteella
public async Task BuildSpreadsheet(string outputFilePath, string request, string password = null)Muokkaa olemassa olevan taulukkotiedoston dataa
public async Task BuildSpreadsheet(string filePath, string outputFilePath, string request, string password = null)Namespace: Sheetize.AI | Assembly: Sheetize.AI.dll