Klasse SheetizeAI
Klasse SheetizeAI
Sheetize AI er et AI‑drevet .NET SDK, der giver udviklere og power‑brugere mulighed for at oprette, redigere og analysere regneark.
public class SheetizeAIArv
Arvede medlemmer
- object.GetType() ,
- object.MemberwiseClone() ,
- object.ToString() ,
- object.Equals(object?) ,
- object.Equals(object?, object?) ,
- object.ReferenceEquals(object?, object?) ,
- object.GetHashCode()
Eksempler
[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", "Ændr værdien af celle A1 til Testing" , null);
}
}Metoder
Generér sammendrags‑tekst for en given regnearksfil
public async Task SpreadsheetSummary(string filePath, TextWriter writer, string password = null)
public async Task<string> SpreadsheetSummary(string filePath, string password = null)Generér Excel‑formel for en given regnearksfil
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)Svar på spørgsmål om en given regnearksfil
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)Opret en ny regnearksfil ud fra krav
public async Task BuildSpreadsheet(string outputFilePath, string request, string password = null)Rediger data i en regnearksfil
public async Task BuildSpreadsheet(string filePath, string outputFilePath, string request, string password = null)Navneområde: Sheetize.AI | Samling: Sheetize.AI.dll