How to Override the system’s default Decision Details field?
Examples of use in custom functions:
- ctx.set_explanation('some_explanation', override=True)
- ctx.set_explanation('some_explanation', True)
- ctx.set_explanation('some_explanation') //if not set, default to False which is the regular behaviour.
Examples of use in pricing functions:
- add the key 'override_reason' to the function response and set it to 'true' (it should be a string).
- If no override is needed, no need to add the flag at all.
Comments
0 comments
Please sign in to leave a comment.