Skip to content

Commit 967bbdd

Browse files
Update Sentry Prevent AI docs with clearer installation steps and description
Co-authored-by: paul.jaffre <[email protected]>
1 parent d6b9322 commit 967bbdd

File tree

1 file changed

+8
-7
lines changed
  • docs/product/ai-in-sentry/sentry-prevent-ai

1 file changed

+8
-7
lines changed

docs/product/ai-in-sentry/sentry-prevent-ai/index.mdx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
---
22
title: Sentry Prevent AI
33
sidebar_order: 30
4-
description: "Get code reviews and new tests for better code and coverage using Sentry Prevent AI."
4+
description: "Sentry Prevent AI reviews code and generates tests to improve quality and test coverage."
55
---
66

7-
Sentry Prevent AI is a generative AI assistant developed by Sentry. It helps you generate new tests for uncovered code and reviews your code changes, offering suggestions for improvement before merging pull requests.
7+
Sentry Prevent AI is a generative AI assistant developed by Sentry that reviews your pull requests, suggests improvements, and generates tests for uncovered code before you merge.
88

99
<Alert>
1010
Sentry Prevent AI is currently in <strong>beta</strong>. Beta features are still a work in progress and may have bugs. Please join the [Discord conversation](https://discord.com/channels/621778831602221064/1385700674557444190) to share your feedback.
1111
</Alert>
1212

1313
## Getting Started
1414

15-
To enable Sentry Prevent AI in your GitHub organization or on specific repositories, you need to install the [Seer by Sentry app](https://github.com/apps/seer-by-sentry). This allows the assistant to analyze pull requests, provide insights, and write tests.
15+
1. *Install the* [Seer by Sentry app](https://github.com/apps/seer-by-sentry) in your GitHub organization or specific repositories.
16+
2. *Enable these required settings* in your Sentry [organization settings](https://sentry.io/settings/organization/):
17+
_Show Generative AI Features_
18+
_Enable PR Review and Test Generation_
1619

17-
If you're not an admin, copy the Sentry Prevent AI GitHub App Integration link and share it with your organization's admin or owner to install it.
18-
19-
**Note:** Both `Show Generative AI Features` and `Enable PR Review and Test Generation` settings must be enabled in your [organization settings](https:sentry.io/settings/organization/) to run Sentry Prevent AI on your pull requests.
20+
*If you're not an admin*, share the Sentry Prevent AI GitHub App Integration link with your organization's admin or owner to install.
2021

2122
## Sentry Prevent AI Commands
2223

@@ -34,7 +35,7 @@ Once you have added a comment, the assistant will reply, acknowledging the reque
3435

3536
- **What data does Sentry Prevent need access to for the AI system to function, and what information is sent to third-party AI providers?**
3637

37-
Sentry Prevent requires access to your pull requests, including PR metadata, repository information, file names, directory structures, and code diffs. The file names, code diffs, and PR descriptions are sent to the AI provider for analysis.
38+
Prevent AI analyzes your pull requests by reading PR details (like file names, directory structure, and code changes). Only file names, code diffs, and PR descriptions are sent to the AI provider.
3839

3940
- **Does Sentry Prevent run anywhere outside of GitHub, and does it run in the background?**
4041

0 commit comments

Comments
 (0)