Access application on Streamlit Cloud Platform

The Retrieval Augmented Engine (RAG) is a powerful tool for document retrieval, summarization, and interactive question-answering. This project utilizes LangChain, Streamlit, and Pinecone to provide a seamless web application for users to perform these tasks. With RAG, you can easily upload multiple PDF documents, generate vector embeddings for text within these documents, and perform conversational interactions with the documents. The chat history is also remembered for a more interactive experience.
Before running the project, make sure you have the following prerequisites:
Clone the repository to your local machine:
git clone https://github.com/mirabdullahyaser/Retrieval-Augmented-Generation-Engine-with-LangChain-and-Streamlit.git
cd Retrieval-Augmented-Generation-Engine-with-LangChain-and-StreamlitInstall the required dependencies by running:
pip install -r requirements.txtRun the Streamlit app:
streamlit run src/rag_engine.pyAccess the app by opening a web browser and navigating to the provided URL.
Input your OpenAI API key, Pinecone API key, Pinecone environment, and Pinecone index name in the respective fields. You can provide them either in the sidebar of the application or place them in the secrets.toml file in the .streamlit directory
Upload the PDF documents you want to analyze.
Click the "Submit Documents" button to process the documents and generate vector embeddings.
Engage in interactive conversations with the documents by typing your questions in the chat input box.
Mir Abdullah Yaser
If you have any questions, suggestions, or would like to discuss this project further, feel free to get in touch with me:
I'm open to collaboration and would be happy to connect!