This repository contains a project that utilizes LangChain and Streamlit to build a Retrieval Augmented Generation (RAG) application. The primary focus of this application is to provide insights and answers based on the DireaWiki
- LangChain Integration: Utilizes LangChain to manage and interact with language models effectively.
- Streamlit Interface: A user-friendly web interface created with Streamlit for seamless interaction.
- Retrieval Augmented Generation (RAG): Combines retrieval-based techniques with generative models to produce accurate and context-aware answers.
- Knowledge Base: Focuses on the DireaWiki as the primary knowledge base.
- Chat History: Maintains a history of user interactions to provide contextually relevant answers.
- Few-Shot Learning Templates: Enhances the model's responses by using predefined templates for better accuracy and consistency.
- Clone the repository:
git clone https://github.com/JungHyunMoon/rag-chat-bot.git
cd rag-chat-bot
- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate
- Install the required dependencies:
pip install -r requirements.txt
- Run the Streamlit application:
streamlit run chat.py
- Open your web browser and navigate to the displayed local URL to interact with the application.