Setting Composite Bag Entity Item Values From A Custom Component by Frank Nimphius


This article explains how composite bag entity items that are based on complex entities like DATE, NUMBER or CURRENCY can have their values set using a custom component. The use case for this is e.g. to set a DATE item to a current date or set an item to a derived value. A sample skill and sample code can be downloaded.

About entities

Oracle Digital Assistant skills use entities in natural language processing to extract information from user messages based on patterns or values represented by an entity. By doing so, entities represent a single piece of information like a product name, a color, a size or similar.

There are two general types of entities: system entities and custom entities. System entities are built-in entities that include DATE, TIME, DURATION, NUMBER, CURRENCY, EMAIL, PERSON, URL, LOCATION and more.  When extracted from a message, system entities may return single values or complex objects. In the image below, DATE, NUMBER, PERSON and URL entities return objects whereas EMAIL returns a single value. Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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