Self-Retrieval: Building an Information Retrieval System with One Large Language Model