AI Error Resolution
Experience the next level of error diagnostics with our AI Error Resolution tool. This feature allows you to identify and tackle errors swiftly with just a click, using advanced AI technology powered by OpenAI's GPT models.
Getting Started with AI Error Resolution
Ready to accelerate your error resolution process? Here's how you can leverage the AI Error Resolution tool within Raygun Crash Reporting.
Prerequisites
Ensure you have the following:
- An active Raygun Crash Reporting subscription
- An OpenAI API key
Step-by-Step Guide
- Open an Error Report: Navigate to the Crash Reporting section and click on an error group.
- Open AI Error Resolution: On the error group page, you will find the "AI Error Resolution" button. Click this to open AI Error Resolution.
- Configure Your AI Provider: (One time setup)
- Select OpenAI from the list of AI providers (default option).
- Enter your OpenAI API key and select your preferred GPT model (GPT-4 is default).
- Click "Connect & fix my errors!".
- Get AI Suggestions: AI suggestions should now start streaming.
Features
Once your AI provider is set up you will get full access to AI Error Resolution. We craft a prompt preloaded with information from the stack trace and associated error data to deliver actionable responses to resolve your errors.
Multi-User Chats
You can chat with this tool collaboratively. Typing indicators are shown whenever teammates are typing, so it's always clear who is using the chat.
Comments
AI Error Resolution is integrated with the existing comments feature on error groups. Simply press the comment button in the AI chat, and it will create a link back to your conversation to be posted into the comments section.
![Comment Button](png/aier_comment_button.png)
Multiple Chats and Chat History
You're not restricted to a single chat session. By clicking the "New Chat" button, you can initiate another instance of the chat tool, providing a fresh workspace to ask questions and explore further responses.
You can access older chat sessions via the "History" button, where a list of all previous chats will be displayed.
Tips for Better Responses
Providing more context with each error report enhances Robbie's recommendations. Try including more information in your error reports to Raygun for optimal responses. For example, you could implement some of the following ideas:
- Custom Data: Enrich error context by adding relevant custom data like user actions, input data, and settings.
- Breadcrumbs: Use breadcrumbs to show the sequence of events leading to the error. This helps trace the issue back to its source.
- Tags: Tag errors consistently to categorize and prioritize them efficiently, using tags such as 'production' or 'critical'.
- Detailed Stack Traces: Ensure stack traces are complete and include specific method names and line numbers.
- Meaningful Error Messages: Write clear and descriptive error messages to aid in quicker diagnostics.