Skip to content

Commit 7237905

Browse files
BrentOzarclaude
andcommitted
#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>
1 parent 4255004 commit 7237905

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Other common parameters include:
189189

190190
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:
191191

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)
193193
* @OnlyQueryHashes - if you want to examine specific query plans, you can pass in a comma-separated list of them in a string.
194194
* @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.
195195
* @OnlySqlHandles, @IgnoreSqlHandles - just like the above two params
@@ -287,6 +287,7 @@ sp_BlitzIndex focuses on mainstream index types. Other index types have varying
287287

288288
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:
289289

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)
290291
* @SkipPartitions = 1 - add this if you want to analyze large partitioned tables. We skip these by default for performance reasons.
291292
* @SkipStatistics = 0 - right now, by default, we skip statistics analysis because we've had some performance issues on this.
292293
* @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

Comments
 (0)