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", "Change the value of cell A1 to 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