From 77ec946b8418b2742037d1425e9587245c597a28 Mon Sep 17 00:00:00 2001 From: dfinke Date: Wed, 14 Jun 2023 05:45:57 -0400 Subject: [PATCH] update changelog --- changelog.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 2a89d9a..db0afb1 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,29 @@ # 7.8.5 - Added `Get-ExcelFileSchema` to get the schema of an Excel file. - - `Get-ExcelFileSchema -Path $xlfile` +- This was added to support interacting with `ChatGPT`. Passing the schema to the `ChatGPT` via `PowerShellAI` let's you ask questions about the data including generating code based on the schema. + +```powershell +Get-ExcelFileSchema .\salesData.xlsx +``` + +```json +{ + "ExcelFile": "salesData.xlsx", + "WorksheetName": "Sheet1", + "Visible": true, + "Rows": 10, + "Columns": 4, + "Address": "A1:D10", + "Path": ".", + "PropertyNames": [ + "Region", + "State", + "Units", + "Price" + ] +} +``` # 7.8.x