A Streamlit-based chatbot assistant designed for RAG (Retrieval-Augmented Generation), providing precise and contextually relevant answers using Ollama, LangChain, FAISS, and PyPDF.
Ensure you have Python 3.10 installed, then run:
For Ubuntu/Linux/macOS:
mkdir rag_git
cd rag_git
python3.10 -m venv .env_rag_workshop
source .env_rag_workshop/bin/activategit clone https://github.com/Asrix-AI/llm_rag_workshop.git
cd llm_rag_workshoppip install -r requirements.txt- Create an account if you dont have
- Sign-in to your account
- Under Settings, create an API key, save it in your .env file
Create a
.envfile in the root directory of the project and add the following environment variables:
LANGCHAIN_API_KEY=your_langsmith_api_key
LANGCHAIN_PROJECT=your_project_name
LANGCHAIN_ENDPOINT="https://API.smith.langchain.com"
LANGCHAIN_TRACING_V2=truestreamlit run app.py🔹 The application should now be running on http://localhost:8501.