-
Notifications
You must be signed in to change notification settings - Fork 906
feature: Added ML Model API Integration snippet useful for servicenow devs #2543
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
feature: Added ML Model API Integration snippet useful for servicenow devs #2543
Conversation
- Created Script Include to call external ML prediction APIs - Includes concise documentation with real-world use cases - Shows how to send incident data and receive predictions - Production-ready with error handling and logging
|
Why ServiceNow devs need this: It's the pattern for any real-time AI integration - from chatbot responses to risk scoring to auto-categorization. |
|
Hey @ravichandra1998g please review
|
ravichandra1998g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, How do you configure the ML to return estimated hours, predicted category and confidence as response?
|
Appreciate your curiosity here is the code : Explaination=The MLPredictionClient submits incident data to an outside ML API for smart predictions. |
ravichandra1998g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please move this file under RestMessageV2 under Integration as we already have that folder.
This ensures the Repo folder structure is clean.
|
Done @ravichandra1998g |
ravichandra1998g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
PR Description:
shows how to integrate external ML model APIs with ServiceNow to get AI predictions.
What's Included
Use Cases
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation
Restrictions