SYSTEM AND METHOD FOR PROVIDING A DATA ANALYTICS WORKBOOK ASSISTANT AND INTEGRATION WITH DATA ANALYTICS ENVIRONMENTS
COPYRIGHT NOTICE
A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
Claim of Priority:
[0001] This application claims the benefit of priority to U.S. Provisional Patent Application titled “SYSTEM AND METHOD FOR DIGITAL ASSISTANT INTEGRATION”, Application No. 63/538,673, filed September 15, 2023; and U.S. Patent Application titled “SYSTEM AND METHOD FOR PROVIDING A DATA ANALYTICS WORKBOOK ASSISTANT AND INTEGRATION WITH DATA ANALYTICS ENVIRONMENTS”, Application No. 18/883,800, filed September 12, 2024; each of which above applications and the contents thereof are herein incorporated by reference.
Technical Field:
[0002] Embodiments described herein are generally related to computer data analytics, and are particularly related to a system and method for providing a data analytics workbook assistant and integration with data analytics environments.
Background:
[0003] Data analytics enables computer-based examination of large amounts of data, for example to derive conclusions or other information from the data. For example, business intelligence tools can be used to provide users with business intelligence describing their enterprise data, in a format that enables the users to make strategic business decisions.
Summary:
[0004] In accordance with an embodiment, described herein are systems and methods for providing a data analytics workbook assistant and integration with data analytics environments. A data analytics system or environment can be integrated with a provider operating as an implementation of a provider framework which provides natural language processing, for purposes of leveraging a user’s text or speech input, within a data analytics or data visualization project, for example while generating, modifying, or interacting with data visualizations. The method can, upon receiving the input, process, by the selected provider, a text input or a speech input of the input, to generate, modify, or interact with a data analytics information or visualization.
[0005] In accordance with an embodiment, described herein is a system and method for providing a natural language generator service for use with data analytics environments. A data analytics system or environment can be integrated with a digital assistant system or environment which provides natural language processing, for purposes of leveraging a user’s text or speech input, within a data analytics or data visualization project, for example while generating, modifying, or interacting with data visualizations.
[0006] In accordance with an embodiment, a method for providing a natural language generator service for use with data analytics environments can be provided. The method can provide a computer comprising a microprocessor. The method can run a data analytics system or environment on the computer. The method can receive, at the data analytics system or environment, an input. The method can, upon receiving the input, generate, by the data analytics system or environment, a visualization responsive to the received input. The method can, upon receiving the input, generate, by the data analytics system or environment, via a natural language text generator operating within the data analytics system or environment, a natural language text responsive to the received input and associated with the generated visualization.
[0007] In accordance with an embodiment, described herein is a system and method for providing a chat-to-visualization user interface for use with a data analytics workbook assistant. A data analytics system or environment can be integrated with a digital assistant system or environment which provides natural language processing, for purposes of leveraging a user’s text or speech input while generating, modifying, or interacting with data visualizations. The user can interact with the system using a chat-like conversation. Based upon a received input from the user as part of the conversation, the system can generate data comprising a resolved intent and entities, and locate an appropriate dataset. The system supports complex follow-up interactions or questions that pertain to previous responses combined with the curated data. The user can use modifiers to further enhance their questioning or analysis of the data, and incorporate resulting insights into their visualization project.
Brief Description of the Drawings:
[0008] Figure 1 illustrates an example data analytics environment, in accordance with an embodiment.
[0009] Figure 2 further illustrates an example data analytics environment, in accordance with an embodiment.
[00010] Figure 3 further illustrates an example data analytics environment, in accordance with an embodiment.
[00011] Figure 4 further illustrates an example data analytics environment, in accordance with an embodiment.
[00012] Figure 5 further illustrates an example data analytics environment, in accordance with an embodiment.
[00013] Figure 6 illustrates a use of the system to transform, analyze, or visualize data, in accordance with an embodiment.
[00014] Figure 7 illustrates the preparation of a data visualization for use with a data analytics environment, in accordance with an embodiment.
[00015] Figure 8 further illustrates the preparation of a data visualization for use with a data analytics environment, in accordance with an embodiment.
[00016] Figure 9 illustrates a system for providing digital assistant integration with a data analytics assistant, in accordance with an embodiment.
[00017] Figure 10 illustrates the use of natural language to support digital assistant integration, in accordance with an embodiment.
[00018] Figure 11 illustrates an example user interaction with a data analytics environment, to generate analytic information or visualizations, in accordance with an embodiment.
[00019] Figure 12 illustrates the use of a provider framework to support digital assistant integration, in accordance with an embodiment.
[00020] Figure 13 further illustrates the use of a provider framework to support digital assistant integration, in accordance with an embodiment.
[00021] Figure 14 further illustrates the use of a provider framework to support digital assistant integration, in accordance with an embodiment.
[00022] Figure 15 illustrates another process diagram of an example digital assistant integration with an analytics workbook assistant, in accordance with an embodiment.
[00023] Figure 16 illustrates a method for providing digital assistant integration with an analytics workbook assistant, in accordance with an embodiment.
[00024] Figure 17A illustrates an example user interaction with a data analytics environment, in accordance with an embodiment.
[00025] Figure 17B further illustrates an example user interaction with a data analytics environment, in accordance with an embodiment. [00026] Figure 17C further illustrates an example user interaction with a data analytics environment, in accordance with an embodiment.
[00027] Figure 17D further illustrates an example user interaction with a data analytics environment, in accordance with an embodiment.
[00028] Figure 17E further illustrates an example user interaction with a data analytics environment, in accordance with an embodiment.
[00029] Figure 18 illustrates a method for providing digital assistant integration with an analytics workbook assistant, in accordance with an embodiment.
[00030] Figure 19 illustrates the use of a natural language generator service that supports digital assistant integration with a data analytics environment, in accordance with an embodiment.
[00031] Figure 20 further illustrates the use of a natural language generator service that supports digital assistant integration with a data analytics environment, in accordance with an embodiment.
[00032] Figure 21 illustrates a flowchart for a top insights (e.g., top N insights) method or algorithm, in accordance with an embodiment.
[00033] Figure 22A illustrates the use of a natural language generator service to support user interaction with a data analytics environment, in accordance with an embodiment.
[00034] Figure 22B further illustrates the use of a natural language generator service to support user interaction with a data analytics environment, in accordance with an embodiment.
[00035] Figure 22C further illustrates the use of a natural language generator service to support user interaction with a data analytics environment, in accordance with an embodiment.
[00036] Figure 23 is a flowchart of a method for providing a natural language generator service for use with data analytics environments, in accordance with an embodiment.
[00037] Figure 24A illustrates an example of how the system supports a chat-to- visualization user interface and user interaction, in accordance with an embodiment.
[00038] Figure 24B further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00039] Figure 24C further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00040] Figure 24D further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00041] Figure 24E further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00042] Figure 24F further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00043] Figure 24G further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00044] Figure 24H further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00045] Figure 241 further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00046] Figure 24J further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00047] Figure 24K further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00048] Figure 24L further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00049] Figure 24M further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00050] Figure 24N further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00051] Figure 240 further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00052] Figure 24P further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00053] Figure 24Q further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00054] Figure 24R further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00055] Figure 24S further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00056] Figure 24T further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00057] Figure 24U further illustrates a chat-to-visualization user interaction, in accordance with an embodiment.
[00058] Figure 25 is a flowchart of a method for providing a chat-to-visualization user interface for use with a data analytics workbook assistant, in accordance with an embodiment. Detailed Description:
[00059] Generally described, within an organization, data analytics enables computer-based examination of large amounts of data, for example to derive conclusions or other information from the data. For example, business intelligence (Bl) tools can be used to provide users with business intelligence describing their enterprise data, in a format that enables the users to make strategic business decisions.
[00060] Increasingly, data analytics can be provided within the context of enterprise software application environments, such as, for example, an Oracle Fusion Applications environment; or within the context of software-as-a-service (SaaS) or cloud environments, such as, for example, an Oracle Analytics Cloud or Oracle Cloud Infrastructure environment; or other types of analytics application or cloud environments.
[00061] Examples of data analytics environments and business intelligence tools/servers include Oracle Business Intelligence Server (OBIS), Oracle Analytics Cloud (OAC), and Fusion Analytics Warehouse (FAW), which support features such as data mining or analytics, and analytic applications.
[00062] Figure 1 illustrates an example data analytics environment, in accordance with an embodiment.
[00063] The example embodiment illustrated in Figure 1 is provided for purposes of illustrating an example of a data analytics environment in association with which various embodiments described herein can be used. In accordance with other embodiments and examples, the approach described herein can be used with other types of data analytics, database, or data warehouse environments. The components and processes illustrated in Figure 1 , and as further described herein with regard to various other embodiments, can be provided as software or program code executable by, for example, a cloud computing system, or other suitably-programmed computer system.
[00064] As illustrated in Figure 1 , in accordance with an embodiment, a data analytics environment 100 can be provided by, or otherwise operate at, a computer system having a computer hardware (e.g., processor, memory) 101 , and including one or more software components operating as a control plane 102, and a data plane 104, and providing access to a data warehouse, data warehouse instance 160 (database 161 , or other type of data source).
[00065] In accordance with an embodiment, the control plane operates to provide control for cloud or other software products offered within the context of a SaaS or cloud environment, such as, for example, an Oracle Analytics Cloud environment, or other type of cloud environment. For example, in accordance with an embodiment, the control plane can include a console interface 110 that enables access by a customer (tenant) and/or a cloud environment having a provisioning component 111. [00066] In accordance with an embodiment, the console interface can enable access by a customer (tenant) operating a graphical user interface (GUI) and/or a command-line interface (CLI) or other interface; and/or can include interfaces for use by providers of the SaaS or cloud environment and its customers (tenants). For example, in accordance with an embodiment, the console interface can provide interfaces that allow customers to provision services for use within their SaaS environment, and to configure those services that have been provisioned.
[00067] In accordance with an embodiment, a customer (tenant) can request via the console interface, a number of attributes associated with the data warehouse instance, including required attributes (e.g., login credentials), and optional attributes (e.g., size, or speed). The provisioning component can then provision the requested data warehouse instance, including a customer schema of the data warehouse; and populate the data warehouse instance with the appropriate information supplied by the customer. The provisioning component can also be used to update or edit a data warehouse instance, and/or an ETL process that operates at the data plane, for example, by altering or updating a requested frequency of ETL process runs, for a particular customer (tenant).
[00068] In accordance with an embodiment, the data plane can include a data pipeline or process layer 120 and a data transformation layer 134, that together process operational or transactional data from an organization’s enterprise software application or data environment, such as, for example, business productivity software applications provisioned in a customer’s (tenant’s) SaaS environment. The data pipeline or process can include various functionalities that extracts transactional data from business applications and databases that are provisioned in the SaaS environment, and then load a transformed data into the data warehouse.
[00069] In accordance with an embodiment, the data transformation layer can include a data model, such as, for example, a knowledge model (KM), or other type of data model, that the system uses to transform the transactional data received from business applications and corresponding transactional databases provisioned in the SaaS environment, into a model format understood by the data analytics environment.
[00070] In accordance with an embodiment, the data plane is responsible for performing extract, transform, and load (ETL) operations, including extracting transactional data from an organization’s enterprise software application or data environment, such as, for example, business productivity software applications and corresponding transactional databases offered in a SaaS environment, transforming the extracted data into a model format, and loading the transformed data into a customer schema of the data warehouse.
[00071] For example, in accordance with an embodiment, each customer (tenant) of the environment can be associated with their own customer tenancy within the data warehouse, that is associated with their own customer schema; and can be additionally provided with read-only access to the data analytics schema, which can be updated by a data pipeline or process, for example, an ETL process, on a periodic or other basis.
[00072] In accordance with an embodiment, a data pipeline or process can be scheduled to execute at intervals (e.g., hourly/daily/weekly) to extract transactional data from an enterprise software application or data environment, such as, for example, business productivity software applications and corresponding transactional databases 106 that are provisioned in the SaaS environment.
[00073] In accordance with an embodiment, an extract process 108 can extract the transactional data, whereupon extraction the data pipeline or process can insert extracted data into a data staging area, which can act as a temporary staging area for the extracted data. The data quality component and data protection component can be used to ensure the integrity of the extracted data. For example, in accordance with an embodiment, the data quality component can perform validations on the extracted data while the data is temporarily held in the data staging area.
[00074] In accordance with an embodiment, when the extract process has completed its extraction, the data transformation layer can be used to begin the transform process, to transform the extracted data into a model format to be loaded into the customer schema of the data warehouse.
[00075] In accordance with an embodiment, the data pipeline or process can operate in combination with the data transformation layer to transform data into the model format. The mapping and configuration database can store metadata and data mappings that define the data model used by data transformation. The data and configuration user interface (III) can facilitate access and changes to the mapping and configuration database. [00076] In accordance with an embodiment, the data transformation layer can transform extracted data into a format suitable for loading into a customer schema of data warehouse, for example according to the data model. During the transformation, the data transformation can perform dimension generation, fact generation, and aggregate generation, as appropriate. Dimension generation can include generating dimensions or fields for loading into the data warehouse instance.
[00077] In accordance with an embodiment, after transformation of the extracted data, the data pipeline or process can execute a warehouse load procedure 150, to load the transformed data into the customer schema of the data warehouse instance. Subsequent to the loading of the transformed data into customer schema, the transformed data can be analyzed and used in a variety of additional business intelligence processes.
[00078] Different customers of a data analytics environment may have different requirements with regard to how their data is classified, aggregated, or transformed, for purposes of providing data analytics or business intelligence data, or developing software analytic applications. In accordance with an embodiment, to support such different requirements, a semantic layer 180 can include data defining a semantic model of a customer’s data; which is useful in assisting users in understanding and accessing that data using commonly-understood business terms; and provide custom content to a presentation layer 190.
[00079] In accordance with an embodiment, a semantic model can be defined, for example, in an Oracle environment, as a Bl Repository (RPD) file, having metadata that defines logical schemas, physical schemas, physical-to-logical mappings, aggregate table navigation, and/or other constructs that implement the various physical layer, business model and mapping layer, and presentation layer aspects of the semantic model.
[00080] In accordance with an embodiment, a customer may perform modifications to their data source model, to support their particular requirements, for example by adding custom facts or dimensions associated with the data stored in their data warehouse instance; and the system can extend the semantic model accordingly.
[00081] In accordance with an embodiment, the presentation layer can enable access to the data content using, for example, a software analytic application, user interface, dashboard, key performance indicators (KPI’s); or other type of report or interface as may be provided by products such as, for example, Oracle Analytics Cloud, or Oracle Analytics for Applications.
[00082] In accordance with an embodiment, a query engine 18 (e.g., an OBIS instance) operates in the manner of a federated query engine to serve analytical queries or requests from clients within, e.g., an Oracle Analytics Cloud environment, directed to data stored at a database.
[00083] In accordance with an embodiment, the OBIS instance can push down operations to supported databases, in accordance with a query execution plan 56, wherein a logical query can include Structured Query Language (SQL) statements received from the clients; while a physical query includes database-specific statements that the query engine sends to the database to retrieve data when processing the logical query. In this way the OBIS instance translates business user queries into appropriate database-specific query languages (e.g., Oracle SQL, SQL Server SQL, DB2 SQL, or Essbase MDX). The query engine (e.g., OBIS) can also support internal execution of SQL operators that cannot be pushed down to the databases.
[00084] In accordance with an embodiment, a user/developer can interact with a client computer device 10 that includes a computer hardware 11 (e.g., processor, storage, memory), user interface 12, and client application 14. A query engine or business intelligence server such as OBIS generally operates to process inbound, e.g., SQL, requests against a database model, build and execute one or more physical database queries, process the data appropriately, and then return the data in response to the request. [00085] To accomplish this, in accordance with an embodiment, the query engine or business intelligence server can include various components or features, such as a logical or business model or metadata that describes the data available as subject areas for queries; a request generator that takes incoming queries and turns them into physical queries for use with a connected data source; and a navigator that takes the incoming query, navigates the logical model and generates those physical queries that best return the data required for a particular query.
[00086] For example, in accordance with an embodiment, a query engine or business intelligence server may employ a logical model mapped to data in a data warehouse, by creating a simplified star schema business model over various data sources so that the user can query data as if it originated at a single source. The information can then be returned to the presentation layer as subject areas, according to business model layer mapping rules.
[00087] In accordance with an embodiment, the query engine (e.g., OBIS) can process queries against a database according to a query execution plan. During operation the query engine or business intelligence server can create a query execution plan which can then be further optimized, for example to perform aggregations of data necessary to respond to a request. Data can be combined together and further calculations applied, before the results are returned to the calling application.
[00088] In accordance with an embodiment, a request for data analytics or visualization information can be received via a client application and user interface as described above, and communicated to the analytics system (in the example of a cloud environment, via a cloud service). The system can retrieve an appropriate dataset to address the user/business context, for use in generating and returning the requested data analytics or visualization information to the client, as a data visualization 196.
[00089] In accordance with an embodiment, a client application can be implemented as software or computer-readable program code executable by a computer system or processing device, and having a user interface, such as, for example, a software application user interface or a web browser interface. The client application can retrieve or access data via an Internet/HTTP or other type of network connection to the analytics system, or in the example of a cloud environment via a cloud service provided by the environment.
[00090] Figure 2 further illustrates an example data analytics environment, in accordance with an embodiment.
[00091] As illustrated in Figure 2, in accordance with an embodiment, the analytics system enables a dataset to be retrieved, received, or prepared from one or more data source(s) 198, for example via one or more data source connections. Examples of the types of data that can be transformed, analyzed, or visualized using the systems and methods described herein include HCM, HR, or ERP data, e-mail or text messages, or other of free-form or unstructured textual data provided at one or more of a database, data storage service, or other type of data repository or data source.
[00092] For example, in accordance with an embodiment, a request for data analytics or visualization information can be received via a client application and user interface as described above, and communicated to the analytics system (in the example of a cloud environment, via a cloud service). The system can retrieve an appropriate dataset to address the user/business context, for use in generating and returning the requested data analytics or visualization information to the client. For example, the data analytics system can retrieve a dataset using, e.g., SELECT statements or Logical SQL (LSQL) instructions.
[00093] In accordance with an embodiment, the system provides functionality that allows a user to generate datasets, analyses, or visualizations for display within a user interface, for example to explore datasets or data sourced from multiple data sources.
[00094] In accordance with an embodiment, the provisioning component can also comprise a provisioning application programming interface (API), a number of workers, a metering manager, and a data plane API, as further described below. The console interface can communicate, for example, by making API calls, with the provisioning API when commands, instructions, or other inputs are received at the console interface to provision services within the SaaS environment, or to make configuration changes to provisioned services.
[00095] In accordance with an embodiment, the data plane API can communicate with the data plane. For example, in accordance with an embodiment, provisioning and configuration changes directed to services provided by the data plane can be communicated to the data plane via the data plane API.
[00096] In accordance with an embodiment, the metering manager can include various functionality that meters services and usage of services provisioned through control plane. For example, in accordance with an embodiment, the metering manager can record a usage over time of processors provisioned via the control plane, for particular customers (tenants), for billing purposes. Likewise, the metering manager can record an amount of storage space of data warehouse partitioned for use by a customer of the SaaS environment, for billing purposes.
[00097] In accordance with an embodiment, the data pipeline or process, provided by the data plane, can include a monitoring component, a data staging component, a data quality component, and a data projection component, as further described below.
[00098] In accordance with an embodiment, the data transformation layer can include a dimension generation component, fact generation component, and aggregate generation component, as further described below. The data plane can also include a data and configuration user interface, and mapping and configuration database.
[00099] In accordance with an embodiment, the data warehouse can include a default data analytics schema (referred to herein in accordance with some embodiments as an analytic warehouse schema) 162 and, for each customer (tenant) of the system, a customer schema 164.
[000100] In accordance with an embodiment, to support multiple tenants, the system can enable the use of multiple data warehouses or data warehouse instances. For example, in accordance with an embodiment, a first warehouse customer tenancy for a first tenant can comprise a first database instance, a first staging area, and a first data warehouse instance of a plurality of data warehouses or data warehouse instances; while a second customer tenancy for a second tenant can comprise a second database instance, a second staging area, and a second data warehouse instance of the plurality of data warehouses or data warehouse instances.
[000101] In accordance with an embodiment, based on the data model defined in the mapping and configuration database, the monitoring component can determine dependencies of several different datasets (data sets) to be transformed. Based on the determined dependencies, the monitoring component can determine which of several different datasets should be transformed to the model format first.
[000102] For example, in accordance with an embodiment, if a first model dataset incudes no dependencies on any other model dataset; and a second model dataset includes dependencies to the first model dataset; then the monitoring component can determine to transform the first dataset before the second dataset, to accommodate the second dataset’s dependencies on the first dataset.
[000103] For example, in accordance with an embodiment, dimensions can include categories of data such as, for example, “name,” “address,” or “age”. Fact generation includes the generation of values that data can take, or “measures.” Facts can be associated with appropriate dimensions in the data warehouse instance. Aggregate generation includes creation of data mappings which compute aggregations of the transformed data to existing data in the customer schema of data warehouse instance.
[000104] In accordance with an embodiment, once any transformations are in place (as defined by the data model), the data pipeline or process can read the source data, apply the transformation, and then push the data to the data warehouse instance.
[000105] In accordance with an embodiment, data transformations can be expressed in rules, and once the transformations take place, values can be held intermediately at the staging area, where the data quality component and data projection components can verify and check the integrity of the transformed data, prior to the data being uploaded to the customer schema at the data warehouse instance. Monitoring can be provided as the extract, transform, load process runs, for example, at a number of compute instances or virtual machines. Dependencies can also be maintained during the extract, transform, load process, and the data pipeline or process can attend to such ordering decisions.
[000106] In accordance with an embodiment, after transformation of the extracted data, the data pipeline or process can execute a warehouse load procedure, to load the transformed data into the customer schema of the data warehouse instance. Subsequent to the loading of the transformed data into customer schema, the transformed data can be analyzed and used in a variety of additional business intelligence processes.
[000107] Figure 3 further illustrates an example data analytics environment, in accordance with an embodiment.
[000108] As illustrated in Figure 3, in accordance with an embodiment, data can be sourced, e.g., from a customer’s (tenant’s) enterprise software application or data environment (106), using the data pipeline process; or as custom data 109 sourced from one or more customer-specific applications 107; and loaded to a data warehouse instance, including in some examples the use of an object storage 105 for storage of the data.
[000109] In accordance with embodiments of analytics environments such as, for example, Oracle Analytics Cloud (OAC), a user can create a dataset that uses tables from different connections and schemas. The system uses the relationships defined between these tables to create relationships or joins in the dataset.
[000110] In accordance with an embodiment, for each customer (tenant), the system uses the data analytics schema that is maintained and updated by the system, within a system/cloud tenancy 114, to pre-populate a data warehouse instance for the customer, based on an analysis of the data within that customer’s enterprise applications environment, and within a customer tenancy 117. As such, the data analytics schema maintained by the system enables data to be retrieved, by the data pipeline or process, from the customer’s environment, and loaded to the customer’s data warehouse instance. [000111] In accordance with an embodiment, the system also provides, for each customer of the environment, a customer schema that is readily modifiable by the customer, and which allows the customer to supplement and utilize the data within their own data warehouse instance. For each customer, their resultant data warehouse instance operates as a database whose contents are partly-controlled by the customer; and partly- controlled by the environment (system).
[000112] For example, in accordance with an embodiment, a data warehouse (e.g., ADW) can include a data analytics schema and, for each customer/tenant, a customer schema sourced from their enterprise software application or data environment. The data provisioned in a data warehouse tenancy (e.g., an ADW cloud tenancy) is accessible only to that tenant; while at the same time allowing access to various, e.g., ETL-related or other features of the shared environment.
[000113] In accordance with an embodiment, to support multiple customers/tenants, the system enables the use of multiple data warehouse instances; wherein for example, a first customer tenancy can comprise a first database instance, a first staging area, and a first data warehouse instance; and a second customer tenancy can comprise a second database instance, a second staging area, and a second data warehouse instance.
[000114] In accordance with an embodiment, for a particular customer/tenant, upon extraction of their data, the data pipeline or process can insert the extracted data into a data staging area for the tenant, which can act as a temporary staging area for the extracted data. A data quality component and data protection component can be used to ensure the integrity of the extracted data; for example, by performing validations on the extracted data while the data is temporarily held in the data staging area. When the extract process has completed its extraction, the data transformation layer can be used to begin the transformation process, to transform the extracted data into a model format to be loaded into the customer schema of the data warehouse.
[000115] Figure 4 further illustrates an example data analytics environment, in accordance with an embodiment.
[000116] As illustrated in Figure 4, in accordance with an embodiment, the process of extracting data, e.g., from a customer’s (tenant’s) enterprise software application or data environment, using the data pipeline process as described above; or as custom data sourced from one or more customer-specific applications; and loading the data to a data warehouse instance, or refreshing the data in a data warehouse, generally involves three broad stages, performed by an ETP service 160 or process, including one or more extraction service 163; transformation service 165; and load/publish service 167, executed by one or more compute instance(s) 170.
[000117] For example, in accordance with an embodiment, a list of view objects for extractions can be submitted, for example, to an Oracle Bl Cloud Connector (BICC) component via a REST call. The extracted files can be uploaded to an object storage component, such as, for example, an Oracle Storage Service (OSS) component, for storage of the data. The transformation process takes the data files from object storage component (e.g., OSS), and applies a business logic while loading them to a target data warehouse, e.g., an ADW database, which is internal to the data pipeline or process, and is not exposed to the customer (tenant). A load/publish service or process takes the data from the, e.g., ADW database or warehouse, and publishes it to a data warehouse instance that is accessible to the customer (tenant).
[000118] Figure 5 further illustrates an example data analytics environment, in accordance with an embodiment.
[000119] As illustrated in Figure 5, which illustrates the operation of the system with a plurality of tenants (customers) in accordance with an embodiment, data can be sourced, e.g., from each of a plurality of customer’s (tenant’s) enterprise software application or data environment, using the data pipeline process as described above; and loaded to a data warehouse instance.
[000120] In accordance with an embodiment, the data pipeline or process maintains, for each of a plurality of customers (tenants), for example customer A 180, customer B 182, a data analytics schema that is updated on a periodic basis, by the system in accordance with best practices for a particular analytics use case.
[000121] In accordance with an embodiment, for each of a plurality of customers (e.g., customers A, B), the system uses the data analytics schema 162A, 162B, that is maintained and updated by the system, to pre-populate a data warehouse instance for the customer, based on an analysis of the data within that customer’s enterprise applications environment 106A, 106B, and within each customer’s tenancy (e.g., customer A tenancy 181 , customer B tenancy 183); so that data is retrieved, by the data pipeline or process, from the customer’s environment, and loaded to the customer’s data warehouse instance 160A, 160B.
[000122] In accordance with an embodiment, the data analytics environment also provides, for each of a plurality of customers of the environment, a customer schema (e.g., customer A schema 164A, customer B schema 164B) that is readily modifiable by the customer, and which allows the customer to supplement and utilize the data within their own data warehouse instance.
[000123] As described above, in accordance with an embodiment, for each of a plurality of customers of the data analytics environment, their resultant data warehouse instance operates as a database whose contents are partly-controlled by the customer; and partly-controlled by the data analytics environment (system); including that their database appears pre-populated with appropriate data that has been retrieved from their enterprise applications environment to address various analytics use cases. When the extract process 108A, 108B for a particular customer has completed its extraction, the data transformation layer can be used to begin the transformation process, to transform the extracted data into a model format to be loaded into the customer schema of the data warehouse.
[000124] In accordance with an embodiment, activation plans 186 can be used to control the operation of the data pipeline or process services for a customer, for a particular functional area, to address that customer’s (tenant’s) particular needs.
[000125] For example, in accordance with an embodiment, an activation plan can define a number of extract, transform, and load (publish) services or steps to be run in a certain order, at a certain time of day, and within a certain window of time.
[000126] In accordance with an embodiment, each customer can be associated with their own activation plan(s). For example, an activation plan for a first Customer A can determine the tables to be retrieved from that customer’s enterprise software application environment (e.g., their Fusion Applications environment), or determine how the services and their processes are to run in a sequence; while an activation plan for a second Customer B can likewise determine the tables to be retrieved from that customer’s enterprise software application environment, or determine how the services and their processes are to run in a sequence.
[000127] Figure 6 illustrates a use of the system to transform, analyze, or visualize data, in accordance with an embodiment.
[000128] As illustrated in Figure 6, in accordance with an embodiment, the systems and methods disclosed herein can be used to provide a data visualization environment 192 that enables insights for users of an analytics environment with regard to analytic artifacts and relationships among the same. A model can then be used to visualize relationships between such analytic artifacts via, e.g., a user interface, as a network chart or visualization of relationships and lineage between artifacts (e.g., User, Role, DV Project, Dataset, Connection, Dataflow, Sequence, ML Model, ML Script).
[000129] In accordance with an embodiment, a client application can be implemented as software or computer-readable program code executable by a computer system or processing device, and having a user interface, such as, for example, a software application user interface or a web browser interface. The client application can retrieve or access data via an Internet/HTTP or other type of network connection to the analytics system, or in the example of a cloud environment via a cloud service provided by the environment.
[000130] In accordance with an embodiment, the user interface can include or provide access to various dataflow action types, as described in further detail below, that enable self-service text analytics, including allowing a user to display a dataset, or interact with the user interface to transform, analyze, or visualize the data, for example to generate graphs, charts, or other types of data analytics or visualizations of dataflows.
[000131] In accordance with an embodiment, the analytics system enables a dataset to be retrieved, received, or prepared from one or more data source(s), for example via one or more data source connections. Examples of the types of data that can be transformed, analyzed, or visualized using the systems and methods described herein include HCM, HR, or ERP data, e-mail or text messages, or other of free-form or unstructured textual data provided at one or more of a database, data storage service, or other type of data repository or data source.
[000132] For example, in accordance with an embodiment, a request for data analytics or visualization information can be received via a client application and user interface as described above, and communicated to the analytics system (in the example of a cloud environment, via a cloud service). The system can retrieve an appropriate dataset to address the user/business context, for use in generating and returning the requested data analytics or visualization information to the client. For example, the data analytics system can retrieve a dataset using, e.g., SELECT statements or Logical SQL instructions.
[000133] In accordance with an embodiment, the system can create a model or dataflow that reflects an understanding of the dataflow or set of input data, by applying various algorithmic processes, to generate visualizations or other types of useful information associated with the data. The model or dataflow can be further modified within a dataset editor 193 by applying various processing or techniques to the dataflow or set of input data, including for example one or more dataflow actions 194, 195 or steps that operate on the dataflow or set of input data. A user can interact with the system via a user interface, to control the use of dataflow actions to generate data analytics, data visualizations 196, or other types of useful information associated with the data.
[000134] In accordance with an embodiment, datasets are self-service data models that a user can build for data visualization and analysis requirements. A dataset contains data source connection information, tables, and columns, data enrichments and transformations. A user can use a dataset in multiple workbooks and in dataflows.
[000135] In accordance with an embodiment, when a user creates and builds a dataset, they can, for example: choose between many types of connections or spreadsheets; create datasets based on data from multiple tables in a database connection, an Oracle data source, or a local subject area; or create datasets based on data from tables in different connections and subject areas.
[000136] For example, in accordance with an embodiment, a user can build a dataset that includes tables from an Autonomous Data Warehouse connection, tables from a Spark connection, and tables from a local subject area; specify joins between tables; and transform and enrich the columns in the dataset.
[000137] In accordance with an embodiment, additional artifacts, features, and operations associated with datasets can include, for example:
[000138] View available connections: a dataset uses one or more connections to data sources to access and supply data for analysis and visualization. A user list of connections contains the connections that they built and the connections that they have permission to access and use.
[000139] Create a dataset from a connection: when a user creates a dataset, they can add tables from one or more data source connections, add joins, and enrich data.
[000140] Add multiple connections to a dataset: a dataset can include more than one connection. Adding more connections allows a user to access and join all of the tables and data that they need to build the dataset. The user can add more connections to datasets that support multiple tables.
[000141] Create dataset table joins: joins indicate relationships between a dataset's tables. If the user is creating a dataset based on facts and dimensions and if joins already exist in the source tables, then joins are automatically created in the dataset. If the user is creating a dataset from multiple connections and schemas, then they can manually define the joins between tables.
[000142] In accordance with an embodiment, a user can use dataflows to create datasets by combining, organizing, and integrating data. Dataflows enable the user to organize and integrate data to produce curated datasets that either they or other users can visualize.
[000143] For example, in accordance with an embodiment, a user might use a dataflow to: Create a dataset; Combine data from different source; aggregate data; and train a machine learning model or apply a predictive machine learning model to their data. [000144] In accordance with an embodiment, a dataset editor as described above allows a user to add actions or steps, wherein each step performs a specific function, for example, add data, join tables, merge columns, transform data, or save the data. Each step is validated when the user adds or changes it. When they have configured the dataflow, they can execute it to produce or update a dataset.
[000145] In accordance with an embodiment, a user can curate data from datasets, subject areas, or database connections. The user can execute dataflows individually or in a sequence. The user can include multiple data sources in a dataflow and specify how to join them. The user can save the output data from a dataflow in either a dataset or in a supported database type.
[000146] In accordance with an embodiment, additional artifacts, features, and operations associated with dataflows can include, for example:
[000147] Add columns: add custom columns to a target dataset.
[000148] Add data: add data sources to a dataflow. For example, if the user is merging two datasets, they add both datasets to the dataflow.
[000149] Aggregate: create group totals by applying aggregate functions; for example, count, sum, or average.
[000150] Branch: creates multiple outputs from a dataflow.
[000151] Filter: select only the data that the user is interested in.
[000152] Join: combine data from multiple data sources using a database join based on a common column.
[000153] Graph Analytics: perform geo-spatial analysis, such as calculating the distance or the number of hops between two vertices.
[000154] The above are provided by way of example; in accordance with an embodiment, other types of steps can be added to a dataflow to transform a dataset or provide data analytics or visualizations.
Dataset Analyses and Visualizations
[000155] Figures 7-8 illustrate the preparation of a data visualization for use with a data analytics environment, in accordance with an embodiment.
[000156] The user interfaces and features shown in Figures 7-8 and elsewhere herein are provided by way of example, for purposes of illustration of the various features described herein; in accordance with various embodiments, alternative examples of user interfaces and features can be provided.
[000157] As illustrated in Figures 7-8, in accordance with an embodiment, the system allows a user to prepare a data visualization for use with a dataset. A panel of visualization options allows users to add data visualization elements to a workbook or canvas, to create a dashboard or data visualization. The user can create a workbook, add a dataset, and then drag and drop its columns onto a canvas to create visualizations.
[000158] In accordance with an embodiment, the system can automatically generate a visualization based on the contents of the canvas, with one or more visualization types automatically selected for selection by the user.
[000159] In accordance with an embodiment, the user can continue adding data elements directly to the canvas to build the visualization. In this manner, a dataset operates as a self-service data model from which the user can build a data analysis or visualization. The user can then use the data visualization to access the data analytics environment, for example to submit analyses or queries against an organization's data, or explore datasets or data sourced from multiple data sources. In accordance with an embodiment, dataflows can be used to merge datasets, cleanse data, and output the results to a new dataset.
[000160] In accordance with an embodiment, the system can provide automatically generated data visualizations (automatically-generated insights, auto-insights), by suggesting visualizations which are expected to provide the best insights for a particular dataset. The user can review an insight's automatically generated summary, for example by hovering over the associated visualization in the workbook canvas.
Data Analytics Assistant
[000161] In accordance with an embodiment, a data analytics system or environment can be integrated with a digital assistant which provides natural language processing capabilities, for purposes of leveraging the natural language processing of a user’s text or speech input, within a data analytics or data visualization project, for example while generating, modifying, or interacting with data visualizations, or generating a story or script that includes or is descriptive of data visualizations.
[000162] For example, in accordance with an embodiment a data analytics system or environment, for example an Oracle Analytics Cloud (OAC) environment, can be integrated with a digital assistant system or environment, for example an Oracle Digital Assistant (ODA) environment, which provides natural language processing (NLP) and speech processing capabilities, for purposes of leveraging the natural language (NL) processing of a user’s text or speech input, within a data analytics or data visualization project, for example while generating, modifying, or interacting with data visualizations.
[000163] Figure 9 illustrates a system for providing digital assistant integration with a data analytics assistant, in accordance with an embodiment.
[000164] As illustrated in Figure 9, in accordance with an embodiment, at (1) a data analytics system or environment, for example an Oracle Analytics Cloud (OAC) environment, receives as input from a user via a user interface (e.g., data analytics assistant) a natural language expression, or request to prepare a data visualization 1010. [000165] At (2), the input natural language can be associated with a context where appropriate, for example an instruction to create a project, e.g., visualization, story, script. [000166] At (3), a relevant dataset can be determined (e.g., by a search component 1020 such as Bl Search) based on the parsed data visualization request (context supplied with input and/or based on keywords in input). Based upon the determination of the relevant dataset, the natural language input can be sent to a digital assistant environment 1030 (for example an Oracle Digital Assistant (ODA) environment, which provides natural language processing (NLP) and speech processing capabilities, for purposes of leveraging the natural language (NL) processing of the natural language expression, e.g., a user’s text or speech input.
[000167] At (4), a data visualization request format (e.g., JavaScript Object Notation, JSON) can be prepared with resolved intent and entities.
[000168] At (5), an (e.g., ODA) JSON data is prepared with resolved intent and entities and returned to the data visualization (DV) environment for rendering.
[000169] At (6), the data analytics or data visualization project is rendered in the user interface (III).
Natural Language Input
[000170] In accordance with an embodiment, the system supports the use of natural language input, to generate simple and insightful natural language text for a given visualization. A simple text explains the data behind the visualization, whereas an insightful text is meant to provide related but useful insights about the columns and the data surrounding them in the visualization. The data analytics assistant can then use the insights generation feature to fetch and display related insights for the visualization.
[000171] Figure 10 illustrates the use of natural language to support digital assistant integration, in accordance with an embodiment.
[000172] As illustrated in Figure 10, in accordance with an embodiment, a user can interact with a user interface 1102 of a search environment 1100 (e.g., Bl Search) via a natural language utterance/input. A request 1101 can be passed to a natural language parser 1103 (e.g., ODA) and parsed for use by a visualization generator 1104 and natural language text generator 1120 comprising a data collector 1121 and data to text converter 1124. Responses (for example insights 1122, 1123) can be collated 1105 in order to provide a response/visualization 1140 to the user interface.
[000173] For example, a user request received at the user interface, such as for example “What are the top performing products in Asia?” is parsed by a natural language parser and passed to a visualization generator. A natural language text generator can then be used to generate a response associated with a visualization, such as for example “The top 3 products by sales were ... Here’s a visualization of the totals sales for the top 20 products ...”.
User Interaction with Data Analytics Environments
[000174] Figure 11 illustrates an example user interaction with a data analytics environment, to generate analytic information or visualizations, in accordance with an embodiment.
[000175] As illustrated in Figure 11 , in accordance with an embodiment, when the user starts an exploration, using a computer device in communication with a server API 212, the data analytics system can, based on natural language processing 200, present the user with dynamic insights about their data which they can review and choose from. The user can then continue adding data elements directly to the canvas, for example using a chat-like interface, to continue building their visualization.
Provider Framework [000176] In accordance with an embodiment, the system supports a user’s chat-like conversations utilizing a semantic search based provider framework. The provider framework provides a flexible approach to having chat conversations, as opposed to the limited scope of flowchart based alternatives. [000177] Figures 12-14 illustrate the use of a provider framework 1200 to support digital assistant integration, in accordance with an embodiment.
[000178] In accordance with an embodiment, a Bl Search environment and user interface. Such as Bl Ask, supports chat-like interactions for a given dataset with measure and dimension columns. The scope is not limited to datasets but can expand to include any artifact within the Bl Search or data analytics environment.
[000179] In accordance with an embodiment, an index 1202 operates as a repository of documents, with each document containing fields that describe the various facets of a single item in a Bl System catalog. The index can contain the items in the Bl Search or data analytics environment (including datasets) thereby acting as a global dictionary, and can be seeded with additional metadata/keywords that provide contextual support for processing a user’s utterance or chat input.
[000180] In accordance with an embodiment, examples of keywords that get seeded into the index are shown in Table 1 below:
Table 1
[000181] In accordance with an embodiment, in order for synonyms to provide the ability to express in natural language, the system can be adapted to understand synonyms for words. Synonym information can be pre-seeded into the system via a knowledgebase, or can be curated by the user community. An exemplary synonym metadata is provided below in Table 2:
Table 2
[000182] In accordance with an embodiment, the provider framework operates as an abstraction over various implementations of the provider.
[000183] In accordance with an embodiment, a selected provider 1203 (i.e. , selected from a number of optional providers 1203, 1204, 1205) operates as an implementation of the provider framework to interpret a user’s utterance or chat input along with the hits from the index. Such providers can leverage as simple as a regular expression interpretation of the user’s utterance or chat input, or as complex as a large language model.
[000184] For example, in accordance with an embodiment, a regular expression (regex) provider leverages regular expressions to match a given utterance or chat input against a set of given rules, and extracts parts of the input.
[000185] The extracted parts can then be evaluated against index lookup terms passed to the provider, thereby effectively resolving valid column names (including synonyms) of a dataset and ignore invalid ones.
[000186] The index provides support to determine a column name for a column value specified in the user’s utterance or chat input, even if the column name itself is not present in the utterance. The chart type specified in the input can also be inferred from the index.
[000187] This technique enables effective resolution of the utterance or chat input to generate an appropriate response. The ability to combine metadata (including synonyms, chart types) from the index along with sets rules of regular expression make this a powerful technique for chat input resolution and response. This can be made more natural to the user if the III elements based on user selection generates an utterance or chat input which potentially matches one of the regular expression rules.
[000188] In accordance with an embodiment, sample utterance patterns for resolution by a regex grammar are illustrated below in Table 3, including example positive use cases:
Table 3
[000189] In accordance with an embodiment, sample utterance patterns for resolution by a regex grammar are illustrated below in Table 4, including example negative use cases:
Table 4
[000190] In accordance with an embodiment, the provider framework includes an Oracle Digital Assistant (ODA) model provider 1204, backed by an ODA model that supports handling expressive forms of utterance in chat. The ODA model can be created for a dataset by using an ODA API to create a skill, creating a schema for the dataset within the skill, and subsequently training the skill which builds a model associated with the skill. When trained, the skill can then handle utterance or chat inputs that are directed to that provider.
[000191] In accordance with an embodiment, a deep learning model provider 1205 (e.g., provider plugin) can be backed by a large language model (LLM) thus enabling handling of more expressive/colloquial forms of utterance in chat. The LLM itself can be any model, including, for example, any of the available open source models.
[000192] In accordance with an embodiment, as a provider response, the provider generates a chart grammar in response to a given utterance containing chart type, projections, filter clauses, sort orders which gets consumed by Bl Ask component to generate a visualization to the end user.
[000193] Figure 15 illustrates a process diagram of an example digital assistant integration with an analytics workbook assistant, in accordance with an embodiment.
[000194] As illustrated in Figures 15, in accordance with an embodiment, when a user provides an utterance or chat input via a user interface 1301 , for example by typing into a Bl Ask search interface or speaking a command, a search component 1401 , e.g., Bl Search, sends the natural language input to an ODA skill 1302 (e.g., data analytics workbook assistant) for processing.
[000195] In accordance with an embodiment, since there may be different skills for different interactions (e.g., the dataset may be associated with a C2SQL skill, and/or a canvas Intents skill), the natural language input needs to be sent to the correct skill. The skill that understands the input can determine how Bl Search proceeds: for example, it may either create the visualization JSON from a returned representation (e.g., in an Oracle environment, as an Oracle Meaning Representation Language, OMRL, representation); or pass to a data visualization component the returned canvas action intent and entities, for use in generating, modifying, or interacting with a data analytics information or visualization. [000196] The example illustrated in Figure 15 is provided by way of example, for purposes of illustration of the various features described herein; in accordance with various embodiments, alternative examples of search components, representations, and features can be provided.
[000197] Figure 16 illustrates a method for providing digital assistant integration with an analytics workbook assistant, in accordance with an embodiment.
[000198] As illustrated in Figure 16, in accordance with an embodiment, at 1510, an analytics environment can be provided, wherein a user can create data analytics or visualizations based on data from one or more data sets.
[000199] In accordance with an embodiment, at 1520, a data analytics system or environment, for example an Oracle Analytics Cloud (OAC) environment, can receive as input a natural language (NL) expression.
[000200] In accordance with an embodiment, at 1530, the input NL expression can be associated with a context, for example a homepage Oracle Ask input bar, or a create project Ask bar.
[000201] In accordance with an embodiment, at 1540, a search environment (e.g., BiSearch) can determine a most relevant dataset based on inputs (e.g., context supplied within input), as well as search index hits on keywords in the input NL.
[000202] In accordance with an embodiment, at 1550, upon determining the most relevant dataset, the search environment (e.g., BiSearch) can send the NL to a digital assistant environment (e.g., ODA, other skill) that corresponds to the determined dataset, which provides natural language processing (NLP) and speech processing capabilities, for purposes of leveraging the natural language (NL) processing of the NL expression, e.g., a user’s text or speech input.
[000203] In accordance with an embodiment, at 1560, an, e.g., ODA JSON data can be prepared with resolved intent and entities.
[000204] In accordance with an embodiment, at 1570, the ODA JSON can be utilized to generate a project JSON, which is returned to data visualization (DV) for rendering [000205] In accordance with an embodiment, at 1580, the data analytics or data visualization project can be rendered in the user interface (Ul).
[000206] Figures 17A-17E illustrate an example user interaction with a data analytics environment, in accordance with an embodiment.
[000207] As illustrated in Figures 17A-17E, for example, the above-described approach allows a search environment and user interface to supports chat-like interactions for a given dataset with measure and dimension columns, for example to allow a user to provide an utterance or chat input to “Create a calculation for GDP Exp % which is GDP Exposed divided by Total GSP; and then “Show me the relationship between population and gdp exposure % and add the top 20 by GDP”. The system can process the user’s input, by the selected provider, to generate, modify, or interact with a data analytics information or visualization.
[000208] Figure 18 illustrates a method for providing digital assistant integration with an analytics workbook assistant, in accordance with an embodiment.
[000209] In accordance with an embodiment, at step 1801 , the method can provide a computer comprising a microprocessor.
[000210] In accordance with an embodiment, at step 1802, the method can run a data analytics system or environment on the computer.
[000211] In accordance with an embodiment, at step 1803, the method can operate the data analytics system or environment with a selected provider operating as an implementation of a provider framework to interpret an input along and provide natural language processing capabilities.
[000212] In accordance with an embodiment, at step 1804, the method can, upon receiving the input, process, by the selected provider operating as the implementation of the provider framework, a text input or a speech input of the input, to generate, modify, or interact with a data visualization.
Natural Language Generator (NLG) Service
[000213] In accordance with an embodiment, a Natural Language Generator (NLG) can comprise a service, provided within a cloud environment, such as OAC, that can generate simple and insightful natural language text for a given visualization. Generated simple text explains the data behind the visualization, whereas generated insightful text is meant to provide related but useful insights about the columns and the data surrounding them in the visualization. A workbook assistant can, for example, use the insights text generation feature to fetch and display related insights for the visualization.
[000214] Figures 19-20 illustrates the use of a natural language generator service to support digital assistant integration, in accordance with an embodiment.
[000215] In accordance with an embodiment, as shown in Figure 19, a user may interact with a user interface 1102 of a search environment 1100 (e.g., Bl Search) via a natural language utterance/input (through the specification, such an input can be referred to as a “natural language input”), such as “What are the top performing products in Asian?” This user interface 1102 can comprise, for example, a data analytics assistant or a workbook assistant.
[000216] In accordance with an embodiment, this natural language input can be passed to a natural language parser 1103 (e.g., ODA). The natural language input can be parsed by the NL parser for use by both a visualization generator 1104 as well as a natural language text generator 1120. The data passed from the NL parser can comprise, for example, structure data from the natural language input, such as structured JSON from the natural language input or structured SQL from the natural language input.
[000217] In accordance with an embodiment, the visualization generator can be utilized to generate one or more data visualizations from data sets and/or columns of data associated with the natural language input (as determined by the NL parser).
[000218] In accordance with an embodiment the natural language text generator 1120 can be passed similar structured data from the NL parser, primarily in the form of metadata. [000219] In accordance with an embodiment, the NL text generator can comprise two primary components, the data collector 1121 and the data to text converter 1124.
[000220] In accordance with an embodiment, as used with the overall workbook assistant feature, the NLG service primarily comprises various components, as further described below.
Data Collector
[000221] In accordance with an embodiment, as used with the overall data analytics assistant feature, the NLG service 1120 can include a data collector 1121 responsible for generating/computing the insightful data 1123 for a given visualization 1140. To accomplish this, it takes the visualization metadata as input. The metadata is processed to extract an input grammar for the NLG service. For example, the input grammar is made up of the projections, group by and filter expressions, dimension and measure columns and any other aspects of the visualization that can be of potential use in generating insights data.
[000222] In accordance with an embodiment, the input grammar is pruned using the dataset profile to generate insights grammar. The process of pruning applies transforms to generate insights grammar. For example, a transformation can be to determine a dimension column either from the input grammar or the dataset to explain the measure in the input visualization. Based on this, a rank filter predicate can be added to the grammar. This is just one example of the transformation that aids in fetching a top N insights.
[000223] In accordance with an embodiment, the final step is to convert the insights grammar into a Logical SQL (LSQL) instruction that can be executed to fetch insights data 1122.
Data to T ext Generator [000224] In accordance with an embodiment, the data to text converter module 1124 is responsible for generating natural language text using the structured data produced by data collector module 1121. The text can be generated in several ways. One approach is to use Language Models or NL Text generation tools such as Yseop. Another approach is to predefine a set of text templates and determine the best template to fit the insights data. Irrespective of the approach used, the outcome is NL Text that describes the Insights data. Using Language Models or Yseop does yield natural and less robotic text.
Insights Algorithm
[000225] In accordance with an embodiment, an algorithm for generating insights can be designed in several ways. For example, here a Top N Insights algorithm is described. In accordance with various embodiments, the system can utilize other/multiple algorithms to generate a set of NLG Text. Either all of them can be made available to the end user, or, alternatively, the systems can automatically determine one or more best/better Text for the use case and just display that.
Top N Insights Algorithm
[000226] In accordance with an embodiment, the systems and methods can prune input visualization grammar to produce a Top N insights grammar, which then can be converted to text. For instance, the following is one example of template that can be used to generate insights text. Columns from Insights Grammar and the data behind the grammar is plugged into the template for generating the final text.
The top N <rank_dimension> with highest <measure> by <dimension1> <dimension2> <...> <filter_list> are rank_dim_value1 : [dimension1_value, dimension2_value,... measure_value], ...
[000227] In accordance with an embodiment, some considerations while implementing Top N Insights algorithm are:
[000228] The number of data points produced by the Insights SQL query issued for the insights should be small enough that it can be expressed in a small body of text. For instance, a number of data points is <=5. This can be achieved by adding relevant filters on appropriate columns (largely driven by cardinality) and injecting column into Group By where appropriate.
[000229] When it’s not possible to generate <=5 data points, the NL Text template can be modified to generate Top X and Bottom Y insights text.
[000230] The Dataset Profile can be leveraged to arrive at the Insights grammar starting from the Input Grammar. Note that the data behind the input visualization is not required to generate the insights. Generated Insights Grammar and the data it generates is related to input visualization but provides more insights than what is available in the visualization. [000231] The table below gives some examples of various input text and the corresponding insights text generated by NLG Service.
Table 5
Other Insights
[000232] In accordance with an embodiment, the insights algorithm can be designed in different ways. For instance, the systems and methods can utilize dataset statistics to explain a dimension or measure in the visualization. Similarly, data behind the input visualization can be utilized to generate insights text. In accordance with various embodiments, along with Top N insights text, various other useful insights text can be generated. [000233] In accordance with various embodiments, examples of user interactions (e.g., user requests 1101 interacting with a user interface 1102) to a search environment 1100 include: Creating a visualization (viz) (e.g., via the visualization generator 1104), for example “Show me sales by region”; or altering the appearance of the canvas, for example “Make the background red”. The NL Parser 1103 (e.g., ODA) environment operates using skills which are functional units focused on specific types of task. The OAC environment can be associated with various skills: for example a Conversation to SQL (C2SQL) or C2SQL_Skill will have a C2SQL model used for the 'create viz' interactions, which relates NL input to the columns in a dataset; while a Canvas_lntents_Skill will have intents used for canvas actions, which indicate what the user wants to do (e.g., set the background color) and quantities or qualities (e.g., red).
[000234] In accordance with an embodiment, the OAC environment can manage its own skills at runtime. Skills developed can be installed in, for example, a BI_HOME folder alongside an OAC application code, rather than being deployed to the ODA Skill Store. One or more ODA Service Instance APIs allow the OAC application to deploy the skills to ODA. This approach allows automated testing of candidate changes to skills; and tenant on-boarding where new tenant provisioning is largely delegated to runtime application components.
[000235] In accordance with an embodiment, a search component, e.g., BiSearch talks to a digital assistant environment, e.g., ODA via e.g., an ODA channel, for purposes of processing, e.g., an Ask query. The ODA channel routes the Ask query to a configured data analytics system or environment, e.g., OAC, as a skill. The skill performs NLP analysis and return the parsed JSON. The ODA parsed JSON is returned to the search component, e.g., BiSearch.
[000236] In accordance with an embodiment, responses from both the visualization generator 1104 as well as the NLG service 1120 can be collated 1105 in order to provide a response/visualization 1140 to the user interface 1102, where it can be displayed or provided 1141 to the user. E.g., along with a data visualization, natural language text can be provided, such as “the top 3 products by sale in Asia were... .” Or “Here’s a visualization of the total sales for the top 20 products in Asian...”.
[000237] Figure 20 illustrates the use of a natural language generator service to support digital assistant integration, in accordance with an embodiment.
[000238] In accordance with an embodiment, more specifically, Figure 20 shows a flowchart for an input visualization to an insights text. That is, an NLG service can implement a generic utility that can transform input visualization into related insights text. Figure 20 illustrates a sequence of steps performed to generate Top N insights. Input and Algorithm used can be adjusted to generate different types of Insights text. [000239] In accordance with an embodiment, at 1251 , an input visualization can be utilized within the flow. At 1252, the input visualization can be pruned (e.g., pruning metadata). The input grammar for the visualization can be pruned using the dataset profile to generate input visualization grammar 1253.
[000240] In accordance with an embodiment, a top insights algorithm 1254 can be applied to this input visualization grammar in order to generate an insights grammar 1255. [000241] In accordance with an embodiment, a query, such as insights LSQL 1256 can be applied to the insights grammar and executed at 1257 in order to generate insights data 1258. A natural language text 1259 can then be generated based upon the insights data.
[000242] Figure 21 illustrates a flowchart for a top insights (e.g., top N insights) method or algorithm, in accordance with an embodiment.
[000243] In accordance with an embodiment, a top insights method can begin with receiving an input visualization grammar and checking 1400 to whether the input grammar comprises a row set less than a certain number of rows, such as 5.
[000244] In accordance with an embodiment, if the row set comprises a number of rows less than N, the top insights method can then check 1402 to see whether there are filters. If there are filters, then the top insights method can find the filter predicate with the highest cardinality column, remove the filter predicate, add the column to Group by and add a Rank Predicate on the column. The top insights method can then check 1405 to see whether the insights row set is less than or equal to a certain number of rows, such as 10. If not, a display can be produced with the top 3 and the bottom 2 insights. If yes, a display can be produced with the top 5 insights.
[000245] In accordance with an embodiment, if there are no filters, then the top insights method can check to see if there are any non-time dimensions in the data set. If not, the top insights method can check to see if there is a time column in the data set, and if not, the method can end.
[000246] In accordance with an embodiment, the top insights method, upon finding that there is a time column in the dataset can find a column gain with a second least span, add a rank predicate and a column to Group by. The top insights method can then check 1405 to see whether the insights row set is less than or equal to a certain number of rows, such as 10. If not, a display can be produced with the top 3 and the bottom 2 insights. If yes, a display can be produced with the top 5 insights.
[000247] In accordance with an embodiment, the top insights method, upon finding that there is a non-time dimension in the dataset, can find a best non time dimension with a highest cardinality (e.g., <1000). The top insights method can then add a rank predicate and a column to Group by. The top insights method can then check 1405 to see whether the insights row set is less than or equal to a certain number of rows, such as 10. If not, a display can be produced with the top 3 and the bottom 2 rows. If yes, a display can be produced with the top 5 rows.
[000248] In accordance with an embodiment, if the row set comprises a number of rows greater than N (at check 1400), the top insights method can then check 1406 whether there is more than 1 column in the Group By. Upon finding more than 1 column in Group By, the top insights method can check 1407 to determine whether there is an optimal card column in Group By. If there is, the top insights method can pick a best column from Group By and add it to rank filter, and then show the top 5 insights.
[000249] In accordance with an embodiment, upon finding more than 1 column in Group By (at check 1406), the top insights method can check 1407 to determine whether there is an optimal card column in Group By. If there is not, the top insights method can find a lowest card column from Group By, add a low card column to the rank filter, and then show the top 3 and the bottom 2 insights.
[000250] In accordance with an embodiment, upon not finding more than 1 column in Group By (at 1406), the top insights method can check 1408 to determine whether there are one or more time columns in the dataset. If yes, the top insights method can inject a time column at Grain with an optimal card into Group By and Rank Filter. The top insights method can then check 1405 to see whether the insights row set is less than or equal to a certain number of rows, such as 10. If not, a display can be produced with the top 3 and the bottom 2 rows. If yes, a display can be produced with the top 5 rows.
[000251] In accordance with an embodiment, upon not finding more than 1 column in Group By, the top insights method can check 1408 to determine whether there are one or more time columns in the dataset. If no, the top insights method can find a best non-time dimension with high cardinality (e.g., <1000), and add a column to the Group By and Rank Filter. The top insights method can then check 1405 to see whether the insights row set is less than or equal to a certain number of rows, such as 10. If not, a display can be produced with the top 3 and the bottom 2 rows. If yes, a display can be produced with the top 5 rows. [000252] Figures 22A-22C illustrate the use of a natural language generator service to support user interaction with a data analytics environment, in accordance with an embodiment.
[000253] Figure 23 is a flowchart of a method for providing a natural language generator service for use with data analytics environments, in accordance with an embodiment.
[000254] In accordance with an embodiment, at step 1601 , the method can provide a computer comprising a microprocessor.
[000255] In accordance with an embodiment, at step 1602, the method can run a data analytics system or environment on the computer.
[000256] In accordance with an embodiment, at step 1603, the method can receive, at the data analytics system or environment, an input.
[000257] In accordance with an embodiment, at step 1604, the method can, upon receiving the input, generate, by the data analytics system or environment, a visualization responsive to the received input.
[000258] In accordance with an embodiment, at step 1605, the method can, upon receiving the input, generate, by the data analytics system or environment, via a natural language text generator operating within the data analytics system or environment, a natural language text responsive to the received input and associated with the generated visualization.
Chat-to-Visualization User Experience
[000259] In accordance with an embodiment, the user can interact with the system using a chat-like conversation. Based upon a received input from the user as part of the conversation, the system can generate data comprising a resolved intent and entities, and locate an appropriate dataset. The system supports complex follow-up interactions or questions that pertain to previous responses combined with the curated data. The user can use modifiers to further enhance their questioning or analysis of the data, and incorporate resulting insights into their visualization project.
[000260] Figures 24A-24U illustrate an example of how the system supports a chat- to-visualization user interface and user interaction, in accordance with an embodiment.
[000261] As illustrated in Figures 24A-24B, the systems and methods can provide a chat-like experience, where conventional GUI manipulation interactions have been removed for the visualizations that appear in the “Chat” tab. For example, in order to add a column to the visualization, a user can utter a phrase such as “Add field Product Category”. In this example, the GUI point-and-click mechanism has been removed to improve the chat-like experience, which in turn encourages the user to experiment with a variety of utterances.
[000262] The user can also use chat as a starting point and begin a dialog with the digital assistant. As an example, upon a user accessing the data analytics system, a user may pose a question related to a topic of interest. If, for example, the catalog associated with that user has no data to address the question, the analytics environment can provide a general model, for example such as Cohere or ChatGPT to answer the question, while indicating that the answer came from a public model.
[000263] In accordance with an embodiment, then, the user’s follow-up can be more complex, since it pertains to the previous response combined with the curated data that they have in the system. Here, the digital assistant can combine the two sources of information using its internal analytics Al model optimized for data quality. The user can then use modifiers to enhance the question and eventually add the resulting insight to their canvas. In addition, the user can, for example, ask the assistant to create a new calculation which they can use in follow-up questions.
[000264] As illustrated, in accordance with an embodiment, the digital assistant can operate in a manner that is interlaced with the user’s personalized experience, such that the user can choose to have the assistant perform some analytic or visualization tasks, or choose to do those or other tasks themselves. For example, the user can manually create insights and use them in synergy with a chat-based interaction. Clicking on a chat icon within a visualization allows the user to receive more insights into their data, and then further modify them by continuing their chat.
[000265] In accordance with an embodiment, the chat interface can be provided as a tab inside a drawer that can be collapsed/expanded. The drawer has multiple tabs with one of them being a “Chat” tab. The location of user text input box starts out in the middle of the drawer, in order to call attention to the user of the capability. All icons associated with the collapsible drawer are placed within a vertical toolbar.
[000266] As illustrated in Figure 24C, the system’s chat response includes (a) Visualization, (b) Straightforward visualization description, and (c) textual analytics “insight”.
[000267] As illustrated in Figures 24D-24E, the system provides the ability for the user to, in the chat, request incremental updates to a previously generated visualization.
[000268] As illustrated in Figure 24F, “demarcation” lines are titled with the visualization creation utterance. These appear between sets of chats, where each set consists of a creation utterance followed by zero or more edit utterances. The “create” utterance that began the section is stylistically included inside a bubble along the demarcation line.
[000269] As illustrated in Figures 24G-24I, “chat starters” are buttons that invite the user to chat because it gives them a starting point, instead of making the user guess what various things they can do.
[000270] As illustrated in Figures 24J-24L, the user can change the chart type, for example if the user does not like the chart type the system automatically selected when generating the visualization.
[000271] As illustrated in Figure 24M, generated charts can be temporarily maximized (without making the user have to commit a visualization to the canvas). For example, as illustrated in the screenshot, the maximized window overlays the canvas, rather being a part of it, and can be dismissed by clicking away. Additionally, the maximized window visualization contains a hover toolbar with two icons: (1) add to canvas, and (2) add to watchlist.
[000272] As illustrated in Figures 24N -240, charts generated from the chat drawer tab can be added to the main canvas of visualizations, by either (1) drag and drop, or (2) clicking the “+” hover icon in the upper right of that chat visualization.
[000273] As illustrated in Figure 24P, generated charts can be added to the “watchlist”, for example as provided as a feature within Oracle Analytics Cloud, that puts watchlist items on the home page of the application. For example, as illustrated in the screenshot, the “add to watch list” icon is the first of the group of three inside the hover toolbar.
[000274] As illustrated in Figure 24Q, the system supports autocomplete within the chat text input box.
[000275] As illustrated in Figure 24R, the user can start an utterance off by selecting one of the previous utterances. For example, as illustrated in the screenshot, when the system puts the active blinking cursor on the utterance text input box, it also pops up a list of the previous utterances. The user can either select one of them, or just start typing, or click away to dismiss the pop-up.
[000276] As illustrated in Figures 24S-24U, a chat response can include multiple and curated visualization options for a given utterance, such as the carousel visualizations illustrated in Figures 24S-24U. As illustrated in Figures 24S-24U, the visualizations comprise a carousel that allow a user to switch between different visualizations, such as a visualization showing city sales profit (Figure 24S), a visualization showing city sales (Figure 24T), and a visualization showing city profit (Figure 24U).
[000277] In accordance with an embodiment, the systems and methods can additionally provide the functionality and ability to allow a user to switch between datasets. This can be accomplished, for example, through the user of a dataset drop-selector provided within the user interface.
[000278] In accordance with an embodiment, the system can also provide the ability to automatically “morph” visualization types based on “edit actions” - for example: a map could become a bar chart depending on the edit action taken (auto type determination), or based on the context of a chat experience or a user’s somewhat-unrelated utterance. For example, starting out with a profit by product category bar chart, the user may utter, “add sales”, in which case the system can switches to a scatter plot, given that there are now two measure (numeric) columns.
[000279] Figure 25 is a flowchart of a method for providing a chat-to-visualization user interface for use with a data analytics workbook assistant, in accordance with an embodiment. [000280] In accordance with an embodiment, at 1701 , the method can provide a computer comprising one or more microprocessors, at which a data analytics system or environment is provided.
[000281] In accordance with an embodiment, at 1702, the method can receive, at the data analytics environment, via a user interface that allows a user to interact with the system using a chat-like conversation, an input comprising one or more of a natural language (NL) expression and an instruction, which is processed by a digital assistant of the data analytics system or environment.
[000282] In accordance with an embodiment, at 1703, the method can, based upon a received input and the processing thereof, generate a data comprising a resolved intent and entities, and locating a dataset by a search component.
[000283] In accordance with an embodiment, at 1704, the method can support complex follow-up interactions or questions that pertain to previous responses combined with a curated data, wherein resulting insights are incorporated into a visualization project.
[000284] In accordance with various embodiments, the teachings herein can be implemented using one or more computer, computing device, machine, or microprocessor, including one or more processors, memory and/or computer readable storage media programmed according to the teachings herein. Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those skilled in the software art.
[000285] In some embodiments, the teachings herein can include a computer program product which is a non-transitory computer readable storage medium (media) having instructions stored thereon/in which can be used to program a computer to perform any of the processes of the present teachings. Examples of such storage mediums can include, but are not limited to, hard disk drives, hard disks, hard drives, fixed disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, or other types of storage media or devices suitable for non-transitory storage of instructions and/or data.
[000286] The foregoing description has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the scope of protection to the precise forms disclosed. Further modifications and variations will be apparent to the practitioner skilled in the art.
[000287] The embodiments were chosen and described in order to best explain the principles of the teachings herein and their practical application, thereby enabling others skilled in the art to understand the various embodiments and with various modifications that are suited to the particular use contemplated. It is intended that the scope be defined by the following claims and their equivalents.