Context-aware generative artificial intelligence system
AssigneeTYNTRE, LLC, d/b/a Trinity Technologies
InventorThomas Chen
Life of this patent
Estimating the term…
Abstract
Methods and systems are presented for facilitating a context-aware dialogue with a user. A chat system identifies a particular domain associated with a query received from the user. Contents are retrieved from one or more data sources that are associated with the particular domain. A semantic-based algorithm and a term-based algorithm are used on tandem to rank the contents, where a selective subset of contents is identified based on the ranking. An enriched prompt is generated for an artificial intelligence (AI) model by integrating the subset of contents into the query. The enriched prompt is then provided to the AI model. The AI model is configured to generate a response to the query based on the enriched prompt.
Claims20
A system, comprising:
- a non-transitory memory;
- and
- one or more hardware processors coupled with the non-transitory memory and configured to read instructions from the non-transitory memory to cause the system to perform operations comprising:
- receiving a query associated with a first domain;
- obtaining a plurality of contents from one or more data sources that are associated with the first domain;
- generating a ranking of the plurality of contents, wherein the ranking indicates a relevancy of each content in the plurality of contents to the query;
- selecting, from the plurality of contents, one or more contents based on the ranking;
- generating an enriched prompt for an artificial intelligence (AI) model by integrating the one or more contents into the query;
- and
- providing the enriched prompt to the AI model.
A method comprising:
- receiving, by a computer system, a query associated with a first domain;
- obtaining, by the computer system, a plurality of contents from one or more data sources that are associated with the first domain;
- generating, by the computer system, a ranking of the plurality of contents, wherein the ranking indicates a relevancy of each content in the plurality of contents to the query;
- selecting, from the plurality of contents, one or more contents based on the ranking;
- generating, by the computer system, a prompt for an artificial intelligence (AI) model by integrating the one or more contents into the query;
- and
- providing, by the computer system, the enriched prompt to the AI model.
Dependencies are inferred from the claim text.