クラス SheetizeAI
クラス SheetizeAI
Sheetize AI は、開発者とパワーユーザーがスプレッドシートを作成、編集、分析できる AI 搭載 .NET SDK です。
public class SheetizeAI継承
継承されたメンバー
- object.GetType() ,
- object.MemberwiseClone() ,
- object.ToString() ,
- object.Equals(object?) ,
- object.Equals(object?, object?) ,
- object.ReferenceEquals(object?, object?) ,
- object.GetHashCode()
使用例
[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", "セル A1 の値を Testing に変更してください", null);
}
}メソッド
スプレッドシートファイルの概要テキストを生成する
public async Task SpreadsheetSummary(string filePath, TextWriter writer, string password = null)
public async Task<string> SpreadsheetSummary(string filePath, string password = null)スプレッドシートファイルに対して Excel の数式を生成する
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)スプレッドシートファイルに関する質問に答える
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)要件に基づいて新しいスプレッドシートファイルを作成する
public async Task BuildSpreadsheet(string outputFilePath, string request, string password = null)スプレッドシートファイルのデータを変更する
public async Task BuildSpreadsheet(string filePath, string outputFilePath, string request, string password = null)Namespace: Sheetize.AI | Assembly: Sheetize.AI.dll