A less complicated type of Resource use is Retrieval Augmented Generation: increase an LLM with document retrieval, at times employing a vector databases. Offered a question, a document retriever is called to retrieve probably the most pertinent (typically measured by first encoding the query as well as files into vectors, then getting the files wi