The Example Projects for Oracle Intelligent Advisor Series 2022 : Retail Discounts

Retail Discount? Famous Example Project! This is a project that has been famous in my eyes for a very long time, since generations of Oracle Intelligent Advisor students have passed through here as they learn about InferInstanceFor, Temporal Reasoning and many of the different concepts related to that – cloning instances, Scoping functions and much more.

There is a video code-along demonstration at the end of this article where we will look at the features mentioned below. So let’s get into the Retail Discounts Example Project:

Time needed: 20 minutes.

How to use the Retail Discounts Project in Oracle Intelligent Advisor

  1. How to use the Retail Discounts Project

    The walkthrough is really simple – you are a (potentially loyal) customer and you want to order some stuff online. You get discounts depending on your loyalty level AND depending on how much you spend on a given brand. Where it gets clever is how this is implemented in Oracle Intelligent Advisor.

    Retail Discounts

  2. What does the Retail Discounts Project demonstrate

    The project core is really the creation of cloned instances. In this case, the order you are making is cloned and adjusted to reflect discounts that will be applied. The discount is based on the current order and previous orders. For the demonstration therefore you will need to enter at least one order for today, and one or more previous orders. Then the project will clone your order and apply discounts to it. So you will have an entity model made up of both inferred entities (the updated order) and self-entered entities (you will enter the order and the previous orders).

    This is core Oracle Intelligent Advisor logic and it is a great example for learners to find out about InferInstanceFor, and there is also a small use of Temporal Reasoning to work out how much you spent with the company in the 365 days prior to the order date – obviously this 365 days window changes depending on the order date.

  3. Adaptation Ideas for Retail Discounts

    For once I think that this project is better left “as-is” and leveraged as a learning opportunity – use it to understand how to use both InferInstance and InferInstanceFor, and how to handle a very common clone issue where child instances go to the wrong clone.

  4. Upsides and Downsides

    Whilst it is not really a project I would extend that much – it is pure learning gold – I would say it is definitely one that everyone should look at!

If you want to watch a code-along video with me to see how to use this project, here it is. You can also subscribe to our YouTube Channel.

video
play-sharp-fill

Richard Napier

Author: Richard Napier

After 8 years in case management and ERP software roles, Richard Napier joined Siebel Systems in 1999 and took up the role of managing the nascent Siebel University in Southern Europe. He subsequently was Director of Business Development and Education for InFact Group (now part of Business & Decisions) for 8 years. He now runs Intelligent Advisor IT Consulting OÜ. Owner of intelligent-advisor.com, he also is Co-Founder of the Siebel Hub.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Intelligent Advisor IT Consulting Serving Customers Worldwide
Hide picture