IP Library › Granted Patent US 12,271,707
Granted Patent B1
US 12,271,707 · App. 18/961,216 · Granted Apr 8, 2025

Chat integration with grid-based data structure

Inventor: George Sivulka (New York, NY)
Assignee: Hebbia Inc.
G06F40/35G06F16/3344G06F16/338G06F16/383
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,271,707
App. No.
18/961,216
Granted
Apr 8, 2025
Kind
B1
Abstract

A data analytics system uses a grid-based data structure to improve the usability of LLMs in the analysis of large data sets, to synthesize information for use in other generative AI contexts, and to improve a user's ability to interface with an LLM. A grid-based data structure is a data structure or database that stores the results of column prompts applied to sources. The grid-based data structure may store the results in a relational manner. For example, a grid-based data structure may have rows that correspond to sources (e.g., documents, files, or databases) and columns that correspond to prompts. Each cell of the grid-based data structure stores the output of the column prompt applied to a source using an LLM. Thus, each column prompt may be systematically applied to each source to generate information based on the sources in an organized way.

Claims (44)

1. A method comprising:

receiving a chat query from a client device associated with a user through a chat user interface, wherein the chat query comprises a text query;

accessing a grid-based data structure comprising a set of rows and a set of columns, where each row is associated with a source of a plurality of sources and each column is associated with a column prompt of a plurality of column prompts, and wherein the set of rows and set of columns define a set of cells for the grid-based data structure, and wherein each of the set of cells comprises contents from applying a column prompt of a corresponding column to a source of a corresponding row using a large language model;

identifying a subset of the set of cells that relate to the received chat query;

generating a final prompt based on contents of the identified subset of cells and the text query, wherein the final prompt comprises text instructions for a large language model to generate a response to the chat query from the user based on contents of the identified subset of the set of cells;

transmitting the final prompt to the large language model;

receiving a response from the large language model, wherein the response comprises text for a chat response to the chat query; and

transmitting the text for the chat response to the client device for display in the chat user interface.

2. The method of claim 1 , wherein the chat user interface is part of a matrix user interface displaying the grid-based data structure.

3. The method of claim 1 , further comprising:

generating the grid-based data structure based on the chat query.

4. The method of claim 1 , wherein identifying the subset of the set of cells comprises:

applying a set of rules to the set of cells to filter the plurality of sources.

5. The method of claim 4 , wherein the set of rules comprises at least one of a database query, a keyword search filter of sources, a semantic search filter of sources, or a filter on metadata fields.

6. The method of claim 4 , further comprising:

generating the set of rules by prompting the large language model to generate a set of rules for filtering sources based on information describing the plurality of sources.

7. The method of claim 6 , wherein a prompt to the large language model to generate the set of rules comprises instructions to generate computer-readable text according to a specified format.

8. The method of claim 1 , wherein identifying the subset of the set of cells comprises filtering the plurality of column prompts based on the chat query.

9. The method of claim 8 , wherein filtering the plurality of column prompts comprises:

generating an embedding for the chat query; and

comparing the embedding for the chat query to an embedding for each of the plurality of column prompts.

10. The method of claim 1 , wherein the final prompt further comprises a chat history in the chat user interface.

11. A non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to perform operations comprising:

receiving a chat query from a client device associated with a user through a chat user interface, wherein the chat query comprises a text query;

accessing a grid-based data structure comprising a set of rows and a set of columns, where each row is associated with a source of a plurality of sources and each column is associated with a column prompt of a plurality of column prompts, and wherein the set of rows and set of columns define a set of cells for the grid-based data structure, and wherein each of the set of cells comprises contents from applying a column prompt of a corresponding column to a source of a corresponding row using a large language model;

identifying a subset of the set of cells that relate to the received chat query;

generating a final prompt based on contents of the identified subset of cells and the text query, wherein the final prompt comprises text instructions for a large language model to generate a response to the chat query from the user based on contents of the identified subset of the set of cells;

transmitting the final prompt to the large language model;

receiving a response from the large language model, wherein the response comprises text for a chat response to the chat query; and

transmitting the text for the chat response to the client device for display in the chat user interface.

12. The computer-readable medium of claim 11 , wherein the chat user interface is part of a matrix user interface displaying the grid-based data structure.

13. The computer-readable medium of claim 11 , the operations further comprising:

generating the grid-based data structure based on the chat query.

14. The computer-readable medium of claim 11 , wherein identifying the subset of the set of cells comprises:

applying a set of rules to the set of cells to filter the plurality of sources.

15. The computer-readable medium of claim 14 , wherein the set of rules comprises at least one of a database query, a keyword search filter of sources, a semantic search filter of sources, or a filter on metadata fields.

16. The computer-readable medium of claim 14 , the operations further comprising:

generating the set of rules by prompting the large language model to generate a set of rules for filtering sources based on information describing the plurality of sources.

17. The computer-readable medium of claim 16 , wherein a prompt to the large language model to generate the set of rules comprises instructions to generate computer-readable text according to a specified format.

18. The computer-readable medium of claim 11 , wherein identifying the subset of the set of cells comprises filtering the plurality of column prompts based on the chat query.

19. The computer-readable medium of claim 18 , wherein filtering the plurality of column prompts comprises:

generating an embedding for the chat query; and

comparing the embedding for the chat query to an embedding for each of the plurality of column prompts.

20. The computer-readable medium of claim 11 , wherein the final prompt further comprises a chat history in the chat user interface.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 13, 2025
From: SIVULKA, GEORGE
To: HEBBIA INC.
Reel/Frame 069835/0570 →
Continuity (2)
Provisional Application 63563117 · Mar 8, 2024
Provisional Application 63604124 · Nov 29, 2023
References Cited (15)
US 12147758B1 · Thomas · 2024 [cited by examiner]
US 20230186025A1 · John et al. · 2023 [cited by applicant]
US 20240028312A1 · Gillman · 2024 [cited by examiner]
US 20240126776A1 · Shmulyan · 2024 [cited by applicant]
US 20240303235A1 · Kulkarni et al. · 2024 [cited by applicant]
US 20240354584A1 · Mukherjee et al. · 2024 [cited by applicant]
US 20240362497A1 · Grenader · 2024 [cited by examiner]
US 20240378375A1 · Coate · 2024 [cited by examiner]
US 20240386058A1 · Thomas · 2024 [cited by examiner]
US 20240419705A1 · Kotaru · 2024 [cited by examiner]
US 20240419923A1 · Chollampatt Muhammed Ashraf · 2024 [cited by examiner]
US 20240420418A1 · Wu · 2024 [cited by examiner]
US 20250006196A1 · Wang · 2025 [cited by examiner]
PCT International Search Report and Written Opinion, PCT Application No. PCT/US2024/057543, Jan. 27, 2025, 24 pages. [cited by applicant]
United States Office Action, U.S. Appl. No. 18/961,186, filed Feb. 24, 2025, 15 pages. [cited by applicant]
Cited By (2)
US 12,585,896 US 12,626,067