Investing GPTs Learning Capabilities

what you want to investigate what is called chunking and indexing. Combined with removing stop words "and,the,a,an etc. Google is your friend here theres many ways to go about chunking but the basic concepts are the same.