Is there an example of LangChain and Gradio being used together for a information retrieval system with chatGPT

I am trying to build a chatbot POC using LangChain, Gradio & ChatGPT.

I have been able to use LangChain with ChatGPT for information retrieval with a CSV successfully. I am trying to club GradIO as the UI on top initially but not able to install the gradio-ir library (get no distribution error).

If I am able to get that going successfully, I want to change the CSV to a SQL database and use the LangChain utility to make a SQL call based on text that is input into the Gradio UI.

Has anyone tried this experiment before. Can you please show me the way.