Skip to content

[AI-FSSDK] [FSSDK-12750] Use attribute id instead of key for CMAB prediction requests#520

Open
raju-opti wants to merge 1 commit into
masterfrom
ai/raju-opti/FSSDK-12750-cmab-attribute-id-fix
Open

[AI-FSSDK] [FSSDK-12750] Use attribute id instead of key for CMAB prediction requests#520
raju-opti wants to merge 1 commit into
masterfrom
ai/raju-opti/FSSDK-12750-cmab-attribute-id-fix

Conversation

@raju-opti

@raju-opti raju-opti commented Jun 30, 2026

Copy link
Copy Markdown

Summary

The CMAB prediction service was incorrectly using attribute keys instead of attribute IDs when building the filtered attributes map for prediction requests. The prediction endpoint expects the attribute ID in the payload, but the code was sending the attribute key. This fix ensures the correct attribute ID is used as the dictionary key in the filtered attributes map.

Changes

  • Updated the attribute filtering logic in the CMAB service to use attribute ID instead of attribute key as the dictionary key
  • Updated relevant test expectations to reflect the corrected behavior

Jira Ticket

FSSDK-12750

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