Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
52 changes: 0 additions & 52 deletions docs/product/issues/issue-details/ai-suggested-solution/index.mdx

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions docs/product/issues/issue-details/sentry-ai/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
title: Sentry AI
description: "Learn more about the AI features that help you understand and fix issues faster."
sidebar_order: 50
---

Sentry AI is a set of tools that help you quickly understand an issue, find a root cause, and create a fix.
You can find it in the Solutions Hub in the sidebar of the issue details page for any error:

![Setup](./img/setup.png)

Once you've set up Sentry AI, you'll be able to use the following features:

- [**Issue Summary**](#issue-summary): A quick summary of all the data in the issue to help you understand what's going on at a glance.
- [**Autofix**](#autofix): A collaborative workflow to find the root cause of an error and create a PR that fixes it.

## Issue Summary

Issue Summary quickly orients you with the issue by summarizing key insights across event and issue level metadata.

When you open an issue, you'll see a quick overview of what's going wrong in the issue in the Solutions Hub in the sidebar:

![Solutions Hub](./img/solutions-hub.png)

Opening the Solutions Hub will show you a more detailed overview of the issue. It will summarize what's going wrong, a possible cause, and if relevant, insights from trace-connected issues:

![Issue Summary](./img/issue-summary.png)

## Autofix

_Note: Autofix replaces Suggested Fix, which was an earlier experiment that we have sunset._

When you want to understand the root cause more deeply, you can use Autofix. It uses the issue details, your codebase (integrated through GitHub), and its interactions with you to gain context and reason through the problem.

When you start an Autofix run, you'll see the following screen, with an option to share initial helpful context on the issue:

![Autofix Start Screen](./img/autofix-start-screen.png)

Autofix then starts analyzing the issue and the relevant code. You can see its status at the bottom of the screen. As it goes through the process, Autofix will share its key insights along the way. You can expand each one to see the exact event data and code that it used to justify it. These insights build up a chain of reasoning to the root cause of the error.

Autofix won't know everything, so the best results come through collaboration. At any point, you can jump in with helpful context or feedback. You can also directly edit its line of reasoning. Just click the "Edit" button above any line, provide any thoughts or instructions you have, and Autofix will rethink from that point. Autofix can also recognize when it doesn't know something, and ask you for the context it needs to continue.

![Autofix Insights](./img/autofix-qna.png)

Once you reach a root cause you're happy with, or have enough context to propose your own, Autofix will use the same process to find a fix. When complete, you'll see the diff of its proposed code changes. You can directly reject, edit, rethink, and give feedback on the changes. You can also ask Autofix to add tests to ensure the issue doesn't happen again.

![Autofix Results](./img/autofix-results.png)

Once you're happy with the changes, Autofix can create a draft PR for you to review and merge in GitHub.

## Data Processing

We use the data mentioned below for analysis and to provide solutions for your review. Your data will not be used to train any models or to generate output shown to others. These features are powered by generative AI models hosted by the feature-specific subprocessors identified on our [subprocessor list](https://sentry.io/legal/subprocessors/). Our subprocessors will only use the data as directed by us.

The data used for these features includes:

- Error messages
- Stack traces
- Sentry spans
- DOM interactions
- Relevant code from linked repositories

You can learn more about our data privacy practices [here](https://docs.sentry.io/security-legal-pii/security/ai-ml-policy/#use-of-identifying-data-for-generative-ai-features).
## Disabling AI Features

If you don't find the feature useful and want to disable it for all users, you
can do so in your organization's settings with the "Hide AI Features" toggle. Also remember that the features won't be available until the proper consent is given for your organization.

5 changes: 4 additions & 1 deletion docs/security-legal-pii/security/ai-ml-policy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ For upcoming features like priority alerts or ML-based grouping, Sentry is askin

## Use of Identifying Data for Generative AI Features

For upcoming features like Autofix that use Generative AI and Retrieval Augmented Generation (RAG), Sentry is asking for access to the following forms of service data:
For upcoming features like Autofix that use Generative AI, Sentry is asking for access to the following forms of service data:

- Error messages
- Stack traces
- Spans
- DOM interactions
- Relevant code to linked repositories

All functionality leveraging RAG will require user opt-in. By opting in, you agree to our use of relevant stack trace and code from your linked repositories with generative AI models hosted by the feature-specific subprocessors identified on our [subprocessor list](https://sentry.io/legal/subprocessors/).
Expand Down
6 changes: 5 additions & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2587,7 +2587,11 @@ const USER_DOCS_REDIRECTS: Redirect[] = [
},
{
from: '/product/issues/issue-details/suggested-fix/',
to: '/product/issues/issue-details/ai-suggested-solution/',
to: '/product/issues/issue-details/sentry-ai/',
},
{
from: '/product/issues/issue-details/ai-suggested-solution/',
to: '/product/issues/issue-details/sentry-ai/',
},
{
from: '/guides/grouping-and-fingerprints/',
Expand Down
Loading