Classe SheetizeAI
Classe SheetizeAI
Sheetize AI és un SDK .NET impulsat per IA que permet a desenvolupadors i usuaris avançats crear, editar i analitzar fulls de càlcul.
public class SheetizeAIHerència
Membres heretats
- 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",
"Canvia el valor de la cel·la A1 a Prova",
null);
}
}Mètodes
Generar text de resum d’un fitxer de full de càlcul donat
public async Task SpreadsheetSummary(string filePath, TextWriter writer, string password = null)
public async Task<string> SpreadsheetSummary(string filePath, string password = null)Generar una fórmula d’Excel per a un fitxer de full de càlcul donat
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)Respondre preguntes sobre un fitxer de full de càlcul donat
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)Crear un nou fitxer de full de càlcul amb requeriments
public async Task BuildSpreadsheet(string outputFilePath, string request, string password = null)Modificar dades d’un fitxer de full de càlcul
public async Task BuildSpreadsheet(string filePath, string outputFilePath, string request, string password = null)Espai de noms: Sheetize.AI | Assemblatge: Sheetize.AI.dll