This project demonstrates the creation of an advanced Retrieval Augmented Generation (RAG) Q&A application using LangChain. By integrating multiple data sources—Wikipedia, a custom website, and a research paper database (RIVE)—this application provides comprehensive answers by dynamically selecting the most relevant data source for each query.
create_openai_tool_agent.agent_executor to retrieve information and provide comprehensive responses.git clone https://github.com/your-repo/advanced-rag-qa-app.git
cd advanced-rag-qa-appUsage Run the Application: streamlit run app.py
Interact with the Application: Open the provided URL in your browser to start querying the RAG Q&A application.
Project Structure
app.py: Main script to run the Streamlit app.
config.py: Configuration settings and environment variables.
langchain_utils.py: Utility functions for LangChain integration.
data_sources/: Contains wrappers for Wikipedia, custom website, and RIVE.
templates/: Prompt templates used for guiding LLM interactions.
requirements.txt: List of Python dependencies.
Contributing If you would like to contribute to this project, please fork the repository and submit a pull request with your changes.