Classe SheetizeAI
Classe SheetizeAI
Sheetize AI est un SDK .NET alimenté par l’IA qui permet aux développeurs et aux utilisateurs avancés de créer, modifier et analyser des feuilles de calcul.
public class SheetizeAIHéritage
Membres hérités
- object.GetType() ,
- object.MemberwiseClone() ,
- object.ToString() ,
- object.Equals(object?) ,
- object.Equals(object?, object?) ,
- object.ReferenceEquals(object?, object?) ,
- object.GetHashCode()
Exemples
[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);
}
}Méthodes
Générer un texte de résumé d’un fichier de feuille de calcul donné
public async Task SpreadsheetSummary(string filePath, TextWriter writer, string password = null)
public async Task<string> SpreadsheetSummary(string filePath, string password = null)Générer une formule Excel pour un fichier de feuille de calcul donné
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)Répondre aux questions concernant un fichier de feuille de calcul donné
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)Créer un nouveau fichier de feuille de calcul selon des exigences
public async Task BuildSpreadsheet(string outputFilePath, string request, string password = null)Modifier les données d’un fichier de feuille de calcul
public async Task BuildSpreadsheet(string filePath, string outputFilePath, string request, string password = null)Espace de noms : Sheetize.AI | Assemblage : Sheetize.AI.dll