I am trying to come up with a new template for our rules engine. A template is just a…
- User
I am trying to come up with a new template for our rules engine. A template is just a combination of inputs and outputs, for example, based on input given, what is the output, a combination of these is a template. Now, I want to integrate multi-tiered approval/decline functionality on our platform which is used for loan underwriting. I have written a rule, which checks the conditions and decides on how many levels of approvals would be needed for an application. But, I am unsure of how I can implement the next part, which is who would be assigned at each of these levels to approve the application. I was thinking at each level the assignments could be based on the role a user has on the platform. So let's say an advisor will be the first level of approval/decline, and then comes the credit officer at level 2 and so on.
- Assistant
- User
The issue is, in every case, the advisor or the lowest level need not be the first approver of an application. It can so happen that the person who is initially working on the application is at a higher level, let's say, he/she is a credit officer manager. This person is already level 3, the challenge then becomes, how can we determine how many approvals would be needed in addition to this, and till what level would the approval be needed for these?
- Assistant
- User
Okay, so within the rules engine, I would need to check at what level the application is being reviewed first and then what the factors are, based on which the rules engine would determine the number of levels on top of that needed for full approval?
- Assistant
- User
- Assistant
- User
- Assistant
- User
- Assistant
- User
- Assistant
- User
Okay let us swap the comparison mechanism a little. Instead of comparing the first name, middle name and last name differently, let's do something else. Convert all the components to small case and get them together in a single string for each input. Then compare the strings character for character for a match. Before you convert the names into a single string which is a combination of the first name, middle name and last name, I need you to convert any nick names into their full names, like if the name is ROB B DUNCAN, the model should transform it into robertbduncan before comparing it.
Can you change the above prompt to reflect these changes?
- Assistant