You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#3670 Add @askai links in README for sp_BlitzCache and sp_BlitzIndex
Update sp_BlitzCache's @askai entry to link to the new Using_AI.md
doc instead of the old blog post. Add @askai parameter entry to
sp_BlitzIndex's advanced parameters section.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,7 @@ Other common parameters include:
189
189
190
190
In addition to the [parameters common to many of the stored procedures](#parameters-common-to-many-of-the-stored-procedures), here are the ones specific to sp_BlitzCache:
191
191
192
-
*@AskAI - when set to 2, returns a prompt you can copy into your favorite LLM to get advice on the query. When set to 1, we'll actually call the LLM for you on SQL Server 2025 or newer, or Azure SQL DB. [Instructions on setting that up.](https://www.brentozar.com/archive/2025/12/get-chatgpts-advice-on-your-queries-with-sp_blitzcache/)
192
+
*@AskAI - when set to 2, returns a prompt you can copy into your favorite LLM to get advice on the query. When set to 1, we'll actually call the LLM for you on SQL Server 2025 or newer, or Azure SQL DB. [Learn more about using AI with the First Responder Kit.](Documentation/Using_AI.md)
193
193
*@OnlyQueryHashes - if you want to examine specific query plans, you can pass in a comma-separated list of them in a string.
194
194
*@IgnoreQueryHashes - if you know some queries suck and you don't want to see them, you can pass in a comma-separated list of them.
195
195
*@OnlySqlHandles, @IgnoreSqlHandles - just like the above two params
@@ -287,6 +287,7 @@ sp_BlitzIndex focuses on mainstream index types. Other index types have varying
287
287
288
288
In addition to the [parameters common to many of the stored procedures](#parameters-common-to-many-of-the-stored-procedures), here are the ones specific to sp_BlitzIndex:
289
289
290
+
*@AskAI - when set to 2, returns a prompt you can copy into your favorite LLM to get index advice for a table (requires @TableName). When set to 1, we'll actually call the LLM for you on SQL Server 2025 or newer, or Azure SQL DB. [Learn more about using AI with the First Responder Kit.](Documentation/Using_AI.md)
290
291
*@SkipPartitions = 1 - add this if you want to analyze large partitioned tables. We skip these by default for performance reasons.
291
292
*@SkipStatistics = 0 - right now, by default, we skip statistics analysis because we've had some performance issues on this.
292
293
*@UsualStatisticsSamplingPercent = 100 (default) - By default, @SkipStatistics = 0 with either @Mode = 0 or @Mode = 4 does not inform you of persisted statistics sample rates if that rate is 100. Use a different float if you usually persist a different sample percentage and do not want to be warned about it. Use NULL if you want to hear about every persisted sample rate.
0 commit comments