This project is a Streamlit-based Q&A chatbot that uses the GROQ API to answer user queries. The application is based LangChain components to build a conversational bot.
- Clone the repository:
git clone https://github.com/yourusername/qa-groq-chatbot.git cd qa-groq-chatbot
python -m venv venv
# On Windows
venv\Scripts\activate
# On macOS/Linux
source venv/bin/activate
Install the required dependencies:
pip install -r requirements.txt
- The application uses environment variables for LangChain settings. Create a .env file in the project root if you need to load additional environment variables using python-dotenv.
- Provide your GROQ API key via the Streamlit sidebar when running the app.
To launch the Streamlit app, run:
streamlit run app.py
- app.py – Main application file containing the Streamlit UI and chat logic.
- README.md – This file.
- requirements.txt – List of Python dependencies.