Earlier this month, we released JavaScript Issue Explanations, our first foray into using Open AI to generate content to help resolve JavaScript errors. Since then, we’ve expanded this functionality to include suggested code solutions. We've named this upgrade the Solution Inspiration.
The basic functionality of this feature remains the same: If an error has a Stacktrace that clearly defines the line of code triggering the error message, you’ll see a Generate Explanation button at the top of the Developer tab. Now, however, clicking this button will not only generate a human-readable explanation of the problem, but a code snippet that suggests how the issue might be fixed. This snippet appears under a new Solution Inspiration heading.
Keep in mind that these solutions are AI generated, and should only be used as a starting point. However, this technology learns over time, and we anticipate the solutions will become more viable as more Noibu users generate, use, and rate the AI generated prompts.
Unfortunately, you can only generate an issue explanation once. This means that if you've already generated an explanation for a given issue, you cannot regenerate the explanation to include the Solution Inspiration. We apologize for this inconvenience, but we hope you'll make good use of Solution Inspirations going forward.