Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential changes to Rules for AI Triage Service #9964

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jeo02
Copy link
Member

@jeo02 jeo02 commented Mar 4, 2025

Using this PR to discuss changes to the AI Label Service to include AI comments. Changes mainly surround the response structure, and how we react to the new fields.

{
    "labels" : string[],  // zero or two
    "suggestion" : string | null,  // never empty
    "solution" : string | null  // never empty
}

@jeo02 jeo02 changed the title Potential changes to Rules for AI Label Service Potential changes to Rules for AI Triage Service Mar 4, 2025
Comment on lines +77 to +78
"suggestion" : string | null,
"solution" : string | null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"suggestion" : string | null,
"solution" : string | null
"suggestion" : null,
"solution" : null

@@ -70,10 +70,12 @@ _**Predictions made**_

```json
{
"labels": [
"labels" : [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest that we break this out into the 4 possible states with examples for each:

  • Manual triage needed. (empty labels, no suggestions, no solution)
  • Label prediction made for triage. (labels populated, no suggestion, no solution)
  • Label prediction with suggestion (labels populated, suggestion populated, no solution)
  • Label prediction with solution (labels populated, no suggestion, solution populated)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants