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