CPC G06F 40/20 (2020.01) [G06F 16/3344 (2019.01); G06F 40/56 (2020.01)] | 30 Claims |
1. A method for ensuring that a large language model (LLM) generates original text, comprising the steps of:
(i) providing a first database of previous text that the LLM should not generate;
(ii) performing a beam search;
(iii) checking potential continuations generated by the LLM against the first database;
(iv) when a potential continuation generated by the LLM matches non-original text in the first database, adjusting the potential continuation generated by the LLM to no longer match non-original text in the first database;
the method further including a method for adding citations to text generated by the LLM comprising the steps of:
(v) providing a second database of text used to train the LLM which includes sources associated with each section of text stored;
(vi) checking sections of the potential continuation generated by the LLM against the second database; and
(vii) retrieving respective sources where respective sections of the potential continuation generated by the LLM match respective text contained within the second database.
|