Skip to content

Intent parsing bug#275

Open
ekeilty17 wants to merge 2 commits intomasterfrom
intent-parsing-bug
Open

Intent parsing bug#275
ekeilty17 wants to merge 2 commits intomasterfrom
intent-parsing-bug

Conversation

@ekeilty17
Copy link
Collaborator

@ekeilty17 ekeilty17 commented Mar 3, 2026

See issue. The fix was the following code in src/intent.py

pattern = r"(action\_\d+)_(intent\_\d+)(-\d+)?"
match = re.search(pattern, full_intent_id)
if match:
    end = "" if match.group(3) is None else match.group(3)
    return match.group(1) + end

DCO 1.1 Signed-off-by: Eric Keilty eric.keilty@ibm.com

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.

1 participant