from llm_function import get_retieval_chain,store_vector_db; import streamlit as st; # st.set_page_config(page_title="Q&A Application",); st.markdown(""" """, unsafe_allow_html=True) st.title("Q&A Based on Custom Data (RAG)"); input = st.text_input(label="Question",placeholder="Write Text here..."); if input: chain = get_retieval_chain() response = chain(input) st.write("Answer") st.write(response["result"])