import gradio as gr import os from langchain_community.document_loaders import PYPDFloader from langchain.txt_sliter import recursiveCharacterTextSpliter from langchain_community.vectorstores import chroma from langchain.chains import ConversationalRetrievalChain