# US 2025/0094703 A1 · Ai-generated data objects for data visualization

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0094703 A1
- Document ID: US20250094703A1
- Status: Published application
- Kind: A1
- Application number: 18/508,805
- Filed: 2023-11-14
- Published: 2025-03-20
- Earliest claimed: 2023-09-18
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Michael Senada Malak; Monisha Balaji; Leon Eli Militao Carvalho
- Web page: https://patentgrep.com/patent/US20250094703A1

## CPC

- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Technology is disclosed herein for generating a visualization of data based on an AI-generated data object. In an implementation, an application, such as a data analytics application, receives a natural language input from a user which relates to a table of data in the application. The table includes data organized according to table columns. The application generates a prompt for a large language model (LLM) service which includes the names of the table columns. The prompt tasks the LLM service with selecting columns for the visualization based on the natural language input and the names of the table columns. The prompt tasks the LLM service with generating a response in a JSON format. The application populates the JSON object, which describes the visualization, according to the response. The application then creates visualization based on the JSON object.

## Claims

### Claim 1

A method of generating a visualization of data in a data analytics application, comprising:
receiving a natural language input from a user relating to a table of the data in the data analytics application, wherein the table comprises the data organized according to table columns;
generating a prompt for a large language model (LLM) service wherein the prompt includes names of the table columns, wherein the prompt tasks the LLM service with selecting columns of the table columns for the visualization based on the natural language input and the names of the table columns, and wherein the prompt tasks the LLM service with generating a response in a JSON format;
populating a JSON object according to the response, wherein the JSON object describes the visualization; and
creating the visualization based on the JSON object.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating a second prompt for the LLM service, wherein the second prompt tasks the LLM service with selecting a visualization type from a set of visualization types based on the natural language input and the response and wherein the second prompt further tasks the LLM service with returning an object identifier corresponding the selected visualization type; and
populating the JSON object with the object identifier.

### Claim 3 (depends on 2)

The method of claim 2, further comprising classifying the natural language input as a request to create the visualization and generating the prompt based on a prompt template corresponding to the classification.

### Claim 4 (depends on 3)

The method of claim 3, further comprising determining a column identifier corresponding to a column of the selected columns according to a relational database of column identifiers associated with the table.

### Claim 5 (depends on 4)

The method of claim 4, wherein creating the visualization comprises creating the visualization according to the selected visualization type, wherein the visualization comprises a graphical representation of data from the selected columns.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
receiving a second user input relating to the visualization;
classifying the second user input as a request for a revised visualization;
submitting a third prompt to the LLM service tasking the LLM service with returning one or more new string values for revising the visualization based on the second user input;
generating an updated data object which includes the one or more new string values; and
creating the revised visualization based on the updated data object.

### Claim 7 (depends on 2)

The method of claim 2, wherein the second prompt further tasks the LLM service with generating a natural language caption for the visualization.

### Claim 8 (depends on 7)

The method of claim 7, wherein creating the visualization further comprises displaying the natural language caption in association with the visualization.

### Claim 9

A computing apparatus comprising:
one or more computer readable storage media;
one or more processors operatively coupled with the one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media that, when executed by the one or more processors, direct the computing apparatus to at least:
receive a natural language input from a user relating to a table of data in a data analytics application, wherein the natural language input relates to creating a visualization of the data and wherein the table comprises the data organized according to table columns;
generate a prompt for a large language model (LLM) service, wherein the prompt includes names of the table columns, wherein the prompt tasks the LLM service with selecting columns of the table columns for the visualization based on the natural language input and the names of the table columns, and wherein the prompt tasks the LLM service with generating a response in a JSON format;
populate a JSON object according to the response, wherein the JSON object describes the visualization; and
create the visualization based on the JSON object.

### Claim 10 (depends on 9)

The computing apparatus of claim 9, wherein the program instructions further direct the computing apparatus to:
generate a second prompt for the LLM service, wherein the second prompt tasks the LLM service with selecting a visualization type from a set of visualization types based on the natural language input and the response and wherein the second prompt further tasks the LLM service with returning an object identifier corresponding the selected visualization type; and
populate the JSON object with the object identifier.

### Claim 11 (depends on 10)

The computing apparatus of claim 10, wherein the program instructions further direct the computing apparatus to classify the natural language input as a request to create the visualization and generating the prompt based on a prompt template corresponding to the classification.

### Claim 12 (depends on 11)

The computing apparatus of claim 11, wherein the program instructions further direct the computing apparatus to determine a column identifier corresponding to a column of the selected columns according to a relational database of column identifiers associated with the table.

### Claim 13 (depends on 12)

The computing apparatus of claim 12, wherein to create the visualization, the program instructions direct the computing apparatus to create the visualization according to the selected visualization type, wherein the visualization comprises a graphical representation of data from the selected columns.

### Claim 14 (depends on 13)

The computing apparatus of claim 13, wherein the program instructions further direct the computing apparatus to:
receive a second user input relating to the visualization;
classify the second user input as a request for a revised visualization;
submit a third prompt to the LLM service tasking the LLM service with returning one or more new string values for revising the visualization based on the second user input;
generate an updated data object which includes the one or more new string values; and
create the revised visualization based on the updated data object.

### Claim 15 (depends on 10)

The computing apparatus of claim 10, wherein the second prompt further tasks the LLM service with generating a natural language caption for the visualization.

### Claim 16 (depends on 15)

The computing apparatus of claim 15, wherein to create the visualization, the program instructions further direct the computing apparatus to display the natural language caption in association with the visualization.

### Claim 17

One or more computer-readable storage media having program instructions stored thereon that, when executed by one or more processors of a computing device, direct the computing device to at least:
receive a natural language input from a user relating to a table of data in a data analytics application, wherein the natural language input relates to creating a visualization of the data and wherein the table comprises the data organized according to table columns;
generate a prompt for a large language model (LLM) service wherein the prompt includes names of the table columns, wherein the prompt tasks the LLM service with selecting columns of the table columns for the visualization based on the natural language input and the names of the table columns, and wherein the prompt tasks the LLM service with generating a response in a JSON format;
populate a JSON object according to the response, wherein the JSON object describes the visualization; and
create the visualization based on the JSON object.

### Claim 18 (depends on 17)

The one or more computer-readable storage media of claim 17, wherein the program instructions further direct the computing device to:
generate a second prompt for the LLM service, wherein the second prompt tasks the LLM service with selecting a visualization type from a set of visualization types based on the natural language input and the response and wherein the second prompt further tasks the LLM service with returning an object identifier corresponding the selected visualization type; and
populate the JSON object with the object identifier.

### Claim 19 (depends on 18)

The one or more computer-readable storage media of claim 18, wherein the program instructions further direct the computing device to classify the natural language input as a request to create the visualization and generating the prompt based on a prompt template corresponding to the classification.

### Claim 20 (depends on 19)

The one or more computer-readable storage media of claim 19, wherein the program instructions further direct the computing device to determine a column identifier corresponding to a column of the selected columns according to a relational database of column identifiers associated with the table.
