An easier method of tool use is Retrieval Augmented Era: increase an LLM with document retrieval, at times using a vector databases. Provided a query, a doc retriever is termed to retrieve one of the most pertinent (usually calculated by initial encoding the question along with the documents into vectors, then acquiring the documents with vectors c